From 2a952755028789506f35e33a9f7477e8531c5382 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Wed, 7 Apr 2021 20:25:37 +0200 Subject: :zap: use mongoose autopopulate --- src/util/Event.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util/Event.ts') diff --git a/src/util/Event.ts b/src/util/Event.ts index 43c51d5c..8a24e4bb 100644 --- a/src/util/Event.ts +++ b/src/util/Event.ts @@ -5,6 +5,7 @@ export async function emitEvent(payload: Omit) { created_at: new Date(), // in seconds ...payload, }; + // TODO: bigint isn't working return await new EventModel(obj).save(); } -- cgit 1.5.1