ファイルのURLを保存するように

This commit is contained in:
syuilo
2018-05-04 18:32:03 +09:00
parent e37c19fdcd
commit 414c600356
4 changed files with 9 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ export default async (url, user, folderId = null, uri = null): Promise<IDriveFil
let error;
try {
driveFile = await create(user, path, name, null, folderId, false, uri);
driveFile = await create(user, path, name, null, folderId, false, url, uri);
log(`created: ${driveFile._id}`);
} catch (e) {
error = e;