fixing logbook delete error (#39)

This commit was merged in pull request #39.
This commit is contained in:
2025-02-03 02:09:32 +00:00
committed by GitHub
parent 02482a4c32
commit c71af4a793

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',