fix entry
This commit is contained in:
parent
3233ea0f60
commit
097b91c09c
@ -51,12 +51,12 @@ export class EntriesService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create(entry: any) {
|
create(entry: any) {
|
||||||
entry.type = 'ENTRY';
|
entry.type = 'entry';
|
||||||
return this.http.post(environment.apiUrl + "/entries", entry);
|
return this.http.post(environment.apiUrl + "/entries", entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
update(entry: any) {
|
update(entry: any) {
|
||||||
entry.type = 'ENTRY';
|
entry.type = 'entry';
|
||||||
return this.http.patch(environment.apiUrl + "/entries", entry);
|
return this.http.patch(environment.apiUrl + "/entries", entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user