Browse Source

fixed broken migration

Aman-Maheshwari 2 years ago
parent
commit
11162585ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/migrations.js

+ 1 - 1
server/migrations.js

@@ -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'
           },