From dce40279280ddbc3b961ab83a9cc6f0fbec7e05c Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 8 Mar 2021 18:41:31 +0100 Subject: :sparkles: changed number to date type --- src/models/Activity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/models/Activity.ts') diff --git a/src/models/Activity.ts b/src/models/Activity.ts index ee7e87cd..beaa43e8 100644 --- a/src/models/Activity.ts +++ b/src/models/Activity.ts @@ -14,7 +14,7 @@ export interface Activity { name: string; type: ActivityType; url?: string; - created_at: number; + created_at: Date; timestamps?: { start: number; end: number; @@ -50,7 +50,7 @@ export const Activity = { name: String, type: Number, url: String, - created_at: Number, + created_at: Date, timestamps: [ { start: Number, -- cgit 1.5.1