@cooperation/vc-storage 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,7 +171,7 @@ export class GoogleDriveStorage {
|
|
171
171
|
const appDataFileMetadata = {
|
172
172
|
name: 'file_ids.json',
|
173
173
|
mimeType: 'application/json',
|
174
|
-
|
174
|
+
parents: ['appDataFolder'],
|
175
175
|
};
|
176
176
|
// Update or create file_ids.json
|
177
177
|
const formDataForAppData = new FormData();
|
@@ -182,7 +182,7 @@ export class GoogleDriveStorage {
|
|
182
182
|
method: 'PATCH',
|
183
183
|
headers: {},
|
184
184
|
body: formDataForAppData,
|
185
|
-
url: `https://www.googleapis.com/upload/drive/v3/files/${existingFileId}?uploadType=multipart`,
|
185
|
+
url: `https://www.googleapis.com/upload/drive/v3/files/${existingFileId}?uploadType=multipart&fields=id`,
|
186
186
|
});
|
187
187
|
}
|
188
188
|
else {
|