Update migrate.ts
This commit is contained in:
parent
ec2f709018
commit
3dc2361654
1 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,7 @@ async function main() {
|
||||||
url: url,
|
url: url,
|
||||||
uri: file.metadata.uri,
|
uri: file.metadata.uri,
|
||||||
accessKey: key,
|
accessKey: key,
|
||||||
folderId: file.metadata.folderId,
|
folderId: file.metadata.folderId ? file.metadata.folderId.toHexString() : null,
|
||||||
storedInternal: true,
|
storedInternal: true,
|
||||||
isLink: false
|
isLink: false
|
||||||
});
|
});
|
||||||
|
@ -220,7 +220,7 @@ async function main() {
|
||||||
url: file.metadata.url,
|
url: file.metadata.url,
|
||||||
uri: file.metadata.uri,
|
uri: file.metadata.uri,
|
||||||
accessKey: null,
|
accessKey: null,
|
||||||
folderId: file.metadata.folderId,
|
folderId: file.metadata.folderId ? file.metadata.folderId.toHexString() : null,
|
||||||
storedInternal: false,
|
storedInternal: false,
|
||||||
isLink: true
|
isLink: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue