summary refs log tree commit diff
path: root/api/src/schema/Message.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 16:58:46 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 16:58:46 +0200
commitbe238a89b9e31986d33432dcc5b78924931b4148 (patch)
treee742551a32422e5c98be26812ecb2218d18b15b3 /api/src/schema/Message.ts
parentfix util (diff)
downloadserver-be238a89b9e31986d33432dcc5b78924931b4148.tar.xz
fix login register + message
Diffstat (limited to '')
-rw-r--r--api/src/schema/Message.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/schema/Message.ts b/api/src/schema/Message.ts
index f9bfcc67..bf10c037 100644
--- a/api/src/schema/Message.ts
+++ b/api/src/schema/Message.ts
@@ -11,7 +11,7 @@ export const MessageCreateSchema = {
 	$content: new Length(String, 0, 2000),
 	$nonce: String,
 	$tts: Boolean,
-	$flags: BigInt,
+	$flags: String,
 	$embed: {
 		$title: new Length(String, 0, 256), //title of embed
 		$type: String, // type of embed (always "rich" for webhook embeds)
@@ -69,7 +69,7 @@ export interface MessageCreateSchema {
 	content?: string;
 	nonce?: string;
 	tts?: boolean;
-	flags?: bigint;
+	flags?: string;
 	embed?: Embed & { timestamp?: string };
 	allowed_mentions?: {
 		parse?: string[];