From ec2f709018e121cda802bb6ce57ab8f46b930ab5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 9 Apr 2019 23:09:57 +0900 Subject: [PATCH] Update migrate.ts --- src/migrate.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/migrate.ts b/src/migrate.ts index 01d5d101af..be1e6723ed 100644 --- a/src/migrate.ts +++ b/src/migrate.ts @@ -171,9 +171,9 @@ async function main() { accessKey: file.metadata.storage.key, folderId: file.metadata.folderId ? file.metadata.folderId.toHexString() : null, storedInternal: false, - isRemote: false + isLink: false }); - } else if (!file.metadata.isRemote) { + } else if (!file.metadata.isLink) { const [temp, clean] = await createTemp(); await new Promise(async (res, rej) => { const bucket = await getDriveFileBucket(); @@ -203,7 +203,7 @@ async function main() { accessKey: key, folderId: file.metadata.folderId, storedInternal: true, - isRemote: false + isLink: false }); clean(); } else { @@ -222,7 +222,7 @@ async function main() { accessKey: null, folderId: file.metadata.folderId, storedInternal: false, - isRemote: true + isLink: true }); } }