1
0
mirror of https://github.com/ae-utbm/sith.git synced 2025-03-29 08:37:12 +00:00

fix image deletion. again.

This commit is contained in:
thomas girod 2024-09-19 20:35:08 +02:00
parent 7458f622f5
commit 27443bcd21

@ -201,7 +201,7 @@ document.addEventListener("alpine:init", () => {
},
async delete_picture() {
const res = await fetch(`/api/sas/picture/${this.current_picture.id}/`, {
const res = await fetch(`/api/sas/picture/${this.current_picture.id}`, {
method: "DELETE",
});
if (!res.ok) {