Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-06-15 18:18:00 +02:00
parent 7f96f53fe4
commit 26c0d02bf6

View File

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