fix: Exports show as 0 bytes

This commit is contained in:
Tom Moor
2022-05-15 07:10:35 +01:00
parent 06d966ad0c
commit bca66f7415
3 changed files with 30 additions and 36 deletions

View File

@@ -91,8 +91,10 @@ class Event extends BaseModel {
@Column(DataType.UUID)
teamId: string;
// Schedule can be used to send events into the event system without recording
// them in the database or audit trail consider using a task instead.
/*
* Schedule can be used to send events into the event system without recording
* them in the database or audit trail consider using a task instead.
*/
static schedule(event: Partial<Event>) {
const now = new Date();
globalEventQueue.add(