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); }