workaround an issue with organization not being found, fix needed

This commit is contained in:
2025-05-19 05:03:51 +02:00
parent 07702b93b1
commit 39f483fdaa
3 changed files with 6 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ document.addEventListener("DOMContentLoaded", async () => {
try {
// Wysy³a ¿¹danie DELETE do API
const response = await fetch(`/api/events/${id}`, {
const response = await fetch(`/api/events/${eventId}`, {
method: "DELETE"
});