From 0ab57bb6cd92dbd8c90f716645139d691de7493d Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 21 Feb 2021 22:52:41 +0100 Subject: :bug: fix ban Model Schema --- src/models/Ban.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models') diff --git a/src/models/Ban.ts b/src/models/Ban.ts index 41db3f51..8fc3b124 100644 --- a/src/models/Ban.ts +++ b/src/models/Ban.ts @@ -12,7 +12,7 @@ export interface Ban extends Document { export const BanSchema = new Schema({ user_id: { type: Types.Long, required: true }, guild_id: { type: Types.Long, required: true }, - executor_id: { type: BigInt, required: true }, + executor_id: { type: Types.Long, required: true }, reason: String, ip: String, // ? Should we store this in here, or in the UserModel? }); -- cgit 1.5.1