Merge pull request #4926 from Aman-Maheshwari/fix-broken-migration-attachements-collectionFs-to-ostrioFiles

Fixed broken migration migrate-attachments-collectionFS-to-ostrioFiles
This commit is contained in:
Lauri Ojansivu 2023-05-12 19:13:02 +03:00 committed by GitHub
commit 5f21823c43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1287,7 +1287,7 @@ Migrations.add('migrate-attachments-collectionFS-to-ostrioFiles', () => {
listId: fileObj.listId,
swimlaneId: fileObj.swimlaneId,
uploadedBeforeMigration: fileObj.uploadedAt,
migrationTime: this.now(),
migrationTime: new Date(),
copies: fileObj.copies,
source: 'import'
},