moved to put from patch

This commit is contained in:
Alex
2025-02-26 21:40:32 +01:00
parent dde3b3d47b
commit b7682f8dc3
3 changed files with 7 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ export const actions = {
/** @type {RequestInit} */
const requestOptions = {
method: isCreating ? 'POST' : 'PATCH',
method: isCreating ? 'POST' : 'PUT',
credentials: 'include',
headers: {
'Content-Type': 'application/json',
@@ -89,7 +89,7 @@ export const actions = {
/** @type {RequestInit} */
const requestOptions = {
method: isCreating ? 'POST' : 'PATCH',
method: isCreating ? 'POST' : 'PUT',
credentials: 'include',
headers: {
'Content-Type': 'application/json',