Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 1f5855f

Browse files
committed
circle ci changes
1 parent 2dc745b commit 1f5855f

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/common/integrations/GoogleDrive.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ class GoogleDriveUtil {
5050
callback: () => {
5151
gapi.client
5252
.init({
53-
apiKey: this.apiKey,
54-
clientId: this.clientId,
55-
scope: this.scope,
53+
apiKey : this.apiKey,
54+
clientId : this.clientId,
55+
scope : this.scope,
5656
discoveryDocs: this.discoveryDocs,
5757
})
5858
.then(
5959
() => {
6060
if (this.auth !== null && this.auth !== undefined) {
61-
this.auth = gapi.auth2.getAuthInstance();
61+
this.auth = gapi.auth2.getAuthInstance();
6262
this.auth.isSignedIn.listen(isLoggedIn => this.updateLoginStatus(isLoggedIn));
6363
this.updateLoginStatus(this.auth.isSignedIn.get());
6464
globalObserver.emit('googledrive.initialized', true);
@@ -160,7 +160,7 @@ class GoogleDriveUtil {
160160

161161
gapi.client.drive.files
162162
.get({
163-
alt: 'media',
163+
alt : 'media',
164164
fileId,
165165
mimeType: 'text/plain',
166166
})
@@ -193,12 +193,12 @@ class GoogleDriveUtil {
193193
};
194194

195195
this.createFilePickerView({
196-
title: translate('Select a Binary Bot strategy'),
196+
title : translate('Select a Binary Bot strategy'),
197197
afterAuthCallback: gapi.client.drive.files.list,
198-
mimeType: ['text/xml', 'application/xml'],
199-
pickerCallback: userPickedFile,
200-
generalCallback: resolve,
201-
rejectCallback: err => {
198+
mimeType : ['text/xml', 'application/xml'],
199+
pickerCallback : userPickedFile,
200+
generalCallback : resolve,
201+
rejectCallback : err => {
202202
if (err.status && err.status === 401) this.logout();
203203

204204
const error = new TrackJSError(
@@ -210,7 +210,7 @@ class GoogleDriveUtil {
210210
reject(error);
211211
},
212212
generalRejectCallback: reject,
213-
selectFolderEnabled: false,
213+
selectFolderEnabled : false,
214214
});
215215
});
216216
}
@@ -231,9 +231,9 @@ class GoogleDriveUtil {
231231
gapi.client.drive.files
232232
.create({
233233
resource: {
234-
name: this.botFolder,
234+
name : this.botFolder,
235235
mimeType: 'application/vnd.google-apps.folder',
236-
fields: 'id',
236+
fields : 'id',
237237
},
238238
})
239239
.then(resolve)
@@ -264,9 +264,9 @@ class GoogleDriveUtil {
264264
const folderId = data.docs[0].id;
265265
const strategyFile = new Blob([options.content], { type: options.mimeType });
266266
const strategyFileMetadata = JSON.stringify({
267-
name: options.name,
267+
name : options.name,
268268
mimeType: options.mimeType,
269-
parents: [folderId],
269+
parents : [folderId],
270270
});
271271

272272
const formData = new FormData();
@@ -298,11 +298,11 @@ class GoogleDriveUtil {
298298
};
299299

300300
this.createFilePickerView({
301-
title: translate('Select a folder'),
302-
afterAuthCallback: this.getDefaultFolderId.bind(this),
303-
mimeType: 'application/vnd.google-apps.folder',
304-
pickerCallback: savePickerCallback,
305-
rejectCallback: reject,
301+
title : translate('Select a folder'),
302+
afterAuthCallback : this.getDefaultFolderId.bind(this),
303+
mimeType : 'application/vnd.google-apps.folder',
304+
pickerCallback : savePickerCallback,
305+
rejectCallback : reject,
306306
generalRejectCallback: reject,
307307
});
308308
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy