summary refs log tree commit diff
path: root/gateway/src/schema
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 17:12:46 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 17:12:46 +0200
commitbee6f71298372d9390696fb981b7e9fa7ad74e87 (patch)
treedd1dc6fc089df4eb39d09190bedea713814c4905 /gateway/src/schema
parentfixed tests for cdn (diff)
downloadserver-bee6f71298372d9390696fb981b7e9fa7ad74e87.tar.xz
:bug: convert bigint -> string
Diffstat (limited to 'gateway/src/schema')
-rw-r--r--gateway/src/schema/Activity.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/gateway/src/schema/Activity.ts b/gateway/src/schema/Activity.ts
index 0fd0592f..f1665efd 100644
--- a/gateway/src/schema/Activity.ts
+++ b/gateway/src/schema/Activity.ts
@@ -39,7 +39,7 @@ export const ActivitySchema = {
 				$match: String,
 			},
 			$instance: Boolean,
-			$flags: BigInt,
+			$flags: String,
 		},
 	],
 	$since: Number, // unix time (in milliseconds) of when the client went idle, or null if the client is not idle
@@ -79,7 +79,7 @@ export interface ActivitySchema {
 				match?: string; // the secret for a specific instanced match
 			};
 			instance?: boolean;
-			flags: bigint; // activity flags OR d together, describes what the payload includes
+			flags: string; // activity flags OR d together, describes what the payload includes
 		}
 	];
 	since?: number; // unix time (in milliseconds) of when the client went idle, or null if the client is not idle