summary refs log tree commit diff
path: root/gateway
diff options
context:
space:
mode:
Diffstat (limited to 'gateway')
-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,