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,