fixing logbook delete error

This commit is contained in:
2025-02-02 20:02:01 -06:00
parent 02482a4c32
commit 4add37e0b7

View File

@@ -95,7 +95,7 @@ const Logbook: React.FC<unknown> = () => {
? { headers: { Authorization: `${token}` } } ? { headers: { Authorization: `${token}` } }
: {}; : {};
await httpClient.delete(`api/logs/${state.selectedEntryId}`, config); await httpClient.delete(`api/logs/log/${state.selectedEntryId}`, config);
dispatch({ dispatch({
type: 'SET_DELETE', type: 'SET_DELETE',