summary refs log tree commit diff
path: root/dist/models/Emoji.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-22 17:34:30 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-22 17:34:30 +0100
commit2a7d56116299699da45b862bfef49840223f60bb (patch)
tree424549527587037dc292e094b3d43b594372ceb2 /dist/models/Emoji.js
parentCustom Permission (diff)
downloadserver-2a7d56116299699da45b862bfef49840223f60bb.tar.xz
:wrench: build
Diffstat (limited to 'dist/models/Emoji.js')
-rw-r--r--dist/models/Emoji.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/models/Emoji.js b/dist/models/Emoji.js

index ef357537..79f2543f 100644 --- a/dist/models/Emoji.js +++ b/dist/models/Emoji.js
@@ -7,7 +7,7 @@ exports.EmojiModel = exports.EmojiSchema = void 0; const mongoose_1 = require("mongoose"); const Database_1 = __importDefault(require("../util/Database")); exports.EmojiSchema = new mongoose_1.Schema({ - id: mongoose_1.Types.Long, + id: { type: mongoose_1.Types.Long, required: true }, animated: Boolean, available: Boolean, guild_id: mongoose_1.Types.Long,