diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-16 20:04:38 +0100 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-16 20:04:38 +0100 |
commit | b5b6f7b559abb430b05a3604b6e68fbed61de5cb (patch) | |
tree | c876e6db89ab5f868965c465756f49ac3c338e9c /src/models | |
parent | :bug: fix Config (diff) | |
download | server-b5b6f7b559abb430b05a3604b6e68fbed61de5cb.tar.xz |
:bug: fix Message Model
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Message.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/Message.ts b/src/models/Message.ts index 33a43a87..2f7323dc 100644 --- a/src/models/Message.ts +++ b/src/models/Message.ts @@ -213,7 +213,7 @@ export const MessageSchema = new Schema({ reactions: [Reaction], nonce: Schema.Types.Mixed, // can be a long or a string pinned: Boolean, - type: Number, + type: { type: Number }, activity: { type: Number, party_id: String, |