diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2021-12-31 19:39:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-31 19:39:54 +0100 |
commit | 6770ac5c69b2d159f0eba831685e6d0273fbaea3 (patch) | |
tree | f3e19ac8a5c82fb65dbed78ac31b530dfe7deef5 | |
parent | Updated stop.ts (diff) | |
download | server-6770ac5c69b2d159f0eba831685e6d0273fbaea3.tar.xz |
Fix game statusses
Timestamps isn't an array.
-rw-r--r-- | gateway/src/schema/Activity.ts | 10 |
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, |