[#4] added explicit log for 201
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user