From cf5bc1b6210d6c9a6a44e445a49b55c2be4e8383 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 10 Jan 2024 12:37:15 +0100 Subject: [PATCH] fix: remove related comments/resources when an event is deleted --- server/helpers/ap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/helpers/ap.js b/server/helpers/ap.js index 24753fbd..a59eb5a1 100644 --- a/server/helpers/ap.js +++ b/server/helpers/ap.js @@ -1,4 +1,4 @@ -const { Event, Tag } = require('../api/models/models') +const { Event, Resource } = require('../api/models/models') const { Op } = require('sequelize') const { DateTime } = require('luxon') const log = require('../log')