diff --git a/server/src/seeds/seed.ts b/server/src/seeds/seed.ts index 0044fd6..a60635f 100644 --- a/server/src/seeds/seed.ts +++ b/server/src/seeds/seed.ts @@ -2,7 +2,7 @@ import db from "../config/connection.js"; import Question from "../models/Question.js"; import cleanDB from "./cleanDb.js"; -import pythonQuestions from './pythonQuestions.json' assert { type: "json" }; +import pythonQuestions from './pythonQuestions.json' with { type: "json" }; db.once('open', async () => { await cleanDB('Question', 'questions');