fix entry

This commit is contained in:
_Bastler 2021-12-04 00:24:33 +01:00
parent 3233ea0f60
commit 097b91c09c

View File

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