From beb269f9c25d11adb121f98fc68458d5cead80b0 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 21 Feb 2021 22:45:26 +0100 Subject: :bug: fix Event model --- dist/models/Event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/models/Event.js') diff --git a/dist/models/Event.js b/dist/models/Event.js index 71acc973..76ba96ff 100644 --- a/dist/models/Event.js +++ b/dist/models/Event.js @@ -10,7 +10,7 @@ exports.EventSchema = new mongoose_1.Schema({ guild_id: mongoose_1.Types.Long, user_id: mongoose_1.Types.Long, channel_id: mongoose_1.Types.Long, - created_at: { type: Number, required: true }, + created_at: { type: Date, required: true }, event: { type: String, required: true }, data: Object, }); -- cgit 1.5.1