1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00

Fix game statusses

Timestamps isn't an array.
This commit is contained in:
TheArcaneBrony 2021-12-31 19:39:54 +01:00 committed by GitHub
parent 24218eae11
commit 6770ac5c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,