fix image deletion. again.

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

View File

@ -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) {