From d74e87a3ddefa53e4560c6b056c5f9db43fe10d6 Mon Sep 17 00:00:00 2001 From: SeghirOumo Date: Fri, 6 Sep 2024 14:11:11 +0200 Subject: [PATCH] Aftral[#108]: forgot to import user --- backend/web/server/plugins/aftral-lms/actions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/web/server/plugins/aftral-lms/actions.js b/backend/web/server/plugins/aftral-lms/actions.js index f1a6c16a57..6b3d7ea8f6 100644 --- a/backend/web/server/plugins/aftral-lms/actions.js +++ b/backend/web/server/plugins/aftral-lms/actions.js @@ -8,6 +8,7 @@ const { lockSession } = require('./functions') const Progress = require('../../models/Progress') const { canPlay, canResume, canReplay } = require('./resources') const { isProduction } = require('../../../config/config') +const User = require('../../models/User') const ACCEPTS={