fixing logbook delete error (#39)
This commit was merged in pull request #39.
This commit is contained in:
@@ -95,7 +95,7 @@ const Logbook: React.FC<unknown> = () => {
|
||||
? { headers: { Authorization: `${token}` } }
|
||||
: {};
|
||||
|
||||
await httpClient.delete(`api/logs/${state.selectedEntryId}`, config);
|
||||
await httpClient.delete(`api/logs/log/${state.selectedEntryId}`, config);
|
||||
|
||||
dispatch({
|
||||
type: 'SET_DELETE',
|
||||
|
||||
Reference in New Issue
Block a user