1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 14:58:24 +09:00

Update migrate.ts

This commit is contained in:
syuilo 2019-04-09 23:12:11 +09:00
parent ec2f709018
commit 3dc2361654
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -201,7 +201,7 @@ async function main() {
url: url,
uri: file.metadata.uri,
accessKey: key,
folderId: file.metadata.folderId,
folderId: file.metadata.folderId ? file.metadata.folderId.toHexString() : null,
storedInternal: true,
isLink: false
});
@ -220,7 +220,7 @@ async function main() {
url: file.metadata.url,
uri: file.metadata.uri,
accessKey: null,
folderId: file.metadata.folderId,
folderId: file.metadata.folderId ? file.metadata.folderId.toHexString() : null,
storedInternal: false,
isLink: true
});