summary refs log tree commit diff
path: root/dist/models/Ban.js
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 /dist/models/Ban.js
parent:bug: fix Event model (diff)
downloadserver-0ab57bb6cd92dbd8c90f716645139d691de7493d.tar.xz
:bug: fix ban Model Schema
Diffstat (limited to 'dist/models/Ban.js')
-rw-r--r--dist/models/Ban.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/models/Ban.js b/dist/models/Ban.js

index 501e1508..abb0a4e2 100644 --- a/dist/models/Ban.js +++ b/dist/models/Ban.js
@@ -9,7 +9,7 @@ const Database_1 = __importDefault(require("../util/Database")); exports.BanSchema = new mongoose_1.Schema({ user_id: { type: mongoose_1.Types.Long, required: true }, guild_id: { type: mongoose_1.Types.Long, required: true }, - executor_id: { type: BigInt, required: true }, + executor_id: { type: mongoose_1.Types.Long, required: true }, reason: String, ip: String, });