summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-21 22:52:41 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-21 22:52:41 +0100
commit0ab57bb6cd92dbd8c90f716645139d691de7493d (patch)
tree072e3f330b02e3298d7d067c435512ae205ca8c8 /src
parent:bug: fix Event model (diff)
downloadserver-0ab57bb6cd92dbd8c90f716645139d691de7493d.tar.xz
:bug: fix ban Model Schema
Diffstat (limited to 'src')
-rw-r--r--src/models/Ban.ts2
1 files changed, 1 insertions, 1 deletions
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? });