Browse Source

fixed broken migration

Aman-Maheshwari 2 năm trước cách đây
mục cha
commit
11162585ca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'
           },