Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-06-15 18:18:00 +02:00
parent 79fa092926
commit 2e85a4a3d3
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -272,7 +272,6 @@ export class EventModel implements IEvent {
this.title = hash.title; this.title = hash.title;
this.slug = hash.slug; this.slug = hash.slug;
this.description = hash.description; this.description = hash.description;
this.category = hash.category;
this.beginsOn = new Date(hash.beginsOn); this.beginsOn = new Date(hash.beginsOn);
if (hash.endsOn) this.endsOn = new Date(hash.endsOn); if (hash.endsOn) this.endsOn = new Date(hash.endsOn);
@ -328,7 +327,6 @@ interface IEventEditJSON {
id?: string; id?: string;
title: string; title: string;
description: string; description: string;
category: Category | null;
beginsOn: string; beginsOn: string;
endsOn: string | null; endsOn: string | null;
status: EventStatus; status: EventStatus;