From 097b91c09cdf880c443148f7dfc58c27053aa497 Mon Sep 17 00:00:00 2001 From: _Bastler Date: Sat, 4 Dec 2021 00:24:33 +0100 Subject: [PATCH] fix entry --- src/app/services/entries.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/services/entries.service.ts b/src/app/services/entries.service.ts index 8f3e336..88a991c 100644 --- a/src/app/services/entries.service.ts +++ b/src/app/services/entries.service.ts @@ -51,12 +51,12 @@ export class EntriesService { } create(entry: any) { - entry.type = 'ENTRY'; + entry.type = 'entry'; return this.http.post(environment.apiUrl + "/entries", entry); } update(entry: any) { - entry.type = 'ENTRY'; + entry.type = 'entry'; return this.http.patch(environment.apiUrl + "/entries", entry); }