diff --git a/js/background.js b/js/background.js index e287db1c0..991414f06 100644 --- a/js/background.js +++ b/js/background.js @@ -98,7 +98,7 @@ console.log('Migrate database without attachments'); await Migrations1DatabaseWithoutAttachmentData.run({ Backbone, - Database: Whisper.Database, + database: Whisper.Database, }); console.log('Storage fetch'); diff --git a/js/modules/migrations/migrations_1_database_without_attachment_data.js b/js/modules/migrations/migrations_1_database_without_attachment_data.js index 2b7c010c4..b10106ef2 100644 --- a/js/modules/migrations/migrations_1_database_without_attachment_data.js +++ b/js/modules/migrations/migrations_1_database_without_attachment_data.js @@ -12,5 +12,4 @@ exports.migrations = [ }, ]; -exports.run = ({ Backbone, Database } = {}) => - runMigrations({ Backbone, database: Database }); +exports.run = runMigrations;