Skip to content

Commit

Permalink
style: fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
zleyyij committed Sep 5, 2024
1 parent 35954c8 commit 8d60c4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/lib/components/FileNavigation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
}
// TODO: requisite backend work, eg create DELETE
// handler for documents.
const r = await fetch(`${apiAddress}/api/doc?path=${path}`, {method: "DELETE", credentials: "include"});
const r = await fetch(`${apiAddress}/api/doc?path=${path}`, {
method: 'DELETE',
credentials: 'include'
});
if (r.ok) {
addToast({
message: `The file "${path}" was deleted successfully."`,
Expand Down

0 comments on commit 8d60c4b

Please sign in to comment.