fix: remove related comments/resources when an event is deleted

This commit is contained in:
lesion 2024-01-10 12:37:15 +01:00
parent 5e35818745
commit cf5bc1b621
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -1,4 +1,4 @@
const { Event, Tag } = require('../api/models/models') const { Event, Resource } = require('../api/models/models')
const { Op } = require('sequelize') const { Op } = require('sequelize')
const { DateTime } = require('luxon') const { DateTime } = require('luxon')
const log = require('../log') const log = require('../log')