diff --git a/server/src/lib/migration/migrations/mark-fervidex-as-without-intent.ts b/server/src/lib/migration/migrations/mark-fervidex-as-without-intent.ts index 533aa5fe1..f8efc54d5 100644 --- a/server/src/lib/migration/migrations/mark-fervidex-as-without-intent.ts +++ b/server/src/lib/migration/migrations/mark-fervidex-as-without-intent.ts @@ -9,7 +9,7 @@ const migration: Migration = { importType: "ir/fervidex", }, { - userIntent: false, + $set: { userIntent: false }, } ); }, diff --git a/server/src/lib/migration/migrations/mark-kshook-as-without-intent.ts b/server/src/lib/migration/migrations/mark-kshook-as-without-intent.ts index 755079110..f1b2dee8f 100644 --- a/server/src/lib/migration/migrations/mark-kshook-as-without-intent.ts +++ b/server/src/lib/migration/migrations/mark-kshook-as-without-intent.ts @@ -2,14 +2,14 @@ import db from "external/mongo/db"; import type { Migration } from "utils/types"; const migration: Migration = { - id: "mark-fervidex-as-without-intent", + id: "mark-kshook-as-without-intent", up: async () => { await db.imports.update( { importType: { $in: ["ir/kshook-sv6c", "ir/kshook-sv6c-static"] }, }, { - userIntent: false, + $set: { userIntent: false }, } ); },