summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2021-12-31 19:39:54 +0100
committerGitHub <noreply@github.com>2021-12-31 19:39:54 +0100
commit6770ac5c69b2d159f0eba831685e6d0273fbaea3 (patch)
treef3e19ac8a5c82fb65dbed78ac31b530dfe7deef5
parentUpdated stop.ts (diff)
downloadserver-6770ac5c69b2d159f0eba831685e6d0273fbaea3.tar.xz
Fix game statusses
Timestamps isn't an array.
-rw-r--r--gateway/src/schema/Activity.ts10
1 files changed, 4 insertions, 6 deletions
diff --git a/gateway/src/schema/Activity.ts b/gateway/src/schema/Activity.ts
index b1ac5638..e18f66c8 100644
--- a/gateway/src/schema/Activity.ts
+++ b/gateway/src/schema/Activity.ts
@@ -9,12 +9,10 @@ export const ActivitySchema = {
 			type: Number,
 			$url: String,
 			$created_at: Date,
-			$timestamps: [
-				{
-					$start: Number,
-					$end: Number,
-				},
-			],
+			$timestamps: {
+				$start: Number,
+				$end: Number,
+			},
 			$application_id: String,
 			$details: String,
 			$state: String,