diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-16 11:19:25 +0100 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-16 11:19:25 +0100 |
commit | 7dda31a10d9ea0264772b65f7a9d4c1d071cddb9 (patch) | |
tree | bd9056bd2f0f3b32b2b7b11d13de18b63fd449aa /src/models/Message.ts | |
parent | :bug: fix message model (diff) | |
download | server-7dda31a10d9ea0264772b65f7a9d4c1d071cddb9.tar.xz |
:bug: fix2 Message Model
Diffstat (limited to '')
-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 62459eec..33a43a87 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: MessageType, + type: Number, activity: { type: Number, party_id: String, |