We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5680dd6 commit da42ff4Copy full SHA for da42ff4
1 file changed
worker/dist/worker.js
@@ -354,14 +354,13 @@ self.props = {
354
files.push(...resp.files);
355
pageToken = resp.nextPageToken;
356
} while (pageToken);
357
-
358
- files.forEach(file => {
+
+ files.forEach(file => {
359
if (file && file.mimeType == 'application/vnd.google-apps.shortcut') {
360
file.id = file.shortcutDetails.targetId;
361
file.mimeType = file.shortcutDetails.targetMimeType;
362
}
363
});
364
365
return {
366
files
367
};
@@ -406,8 +405,8 @@ self.props = {
406
405
if (resp.files.length === 0) {
407
return null;
408
409
410
- if (resp.files[0].shortcutDetails){
+ if (resp.files[0].shortcutDetails) {
411
resp.files[0].id = resp.files[0].shortcutDetails.targetId;
412
413
0 commit comments