[#4] added explicit log for 201

This commit is contained in:
Camille Moussu
2025-08-25 09:49:35 +02:00
parent 684fd82027
commit f3ebd7c107
+1 -1
View File
@@ -11,7 +11,7 @@ export async function putEvent(event: CalendarEvent) {
},
});
if (response.status === 201) {
console.log("PUT :", response.url);
console.log("PUT (201) :", response.url);
}
return await response.json();
}