mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-24 15:16:21 +09:00
Update migrate.ts
This commit is contained in:
parent
ec2f709018
commit
3dc2361654
@ -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
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user