From 546d3a6eaa30cd80b72278dc9e75edc8472d6636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Bret=C3=A9cher?= <95406348+nicobret@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:00:19 +0100 Subject: [PATCH] fix migration --- api/migrations/20241105100553-add-cohort-groups.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/migrations/20241105100553-add-cohort-groups.js b/api/migrations/20241105100553-add-cohort-groups.js index 64e9e01175..d1d87e4002 100644 --- a/api/migrations/20241105100553-add-cohort-groups.js +++ b/api/migrations/20241105100553-add-cohort-groups.js @@ -1,6 +1,6 @@ -import { logger } from "../src/logger"; -import { CohortGroupModel, CohortModel } from "../src/models"; -import { COHORT_TYPE } from "snu-lib"; +const { logger } = require("../src/logger"); +const { CohortGroupModel, CohortModel } = require("../src/models"); +const { COHORT_TYPE } = require("snu-lib"); const pipeline = [ {