fix entry
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user