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
commit6c7abc2c7f9f6cf860751938a6900de2d9b228cc (patch)
treeae367752844b3e1d7ab08f148da3edce5b4adc8b /api/src/schema/Message.ts
parentfix util (diff)
downloadserver-6c7abc2c7f9f6cf860751938a6900de2d9b228cc.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[];