Fixing the cross origine on the frontend side + request in json #79

Merged
tonitch merged 4 commits from tonitch/front/fix/crossOrigine into master 2024-03-09 18:18:16 +01:00
Showing only changes of commit 0b4b38f6c5 - Show all commits

View File

@ -16,7 +16,7 @@ export async function restDelete(endPoint, data) {
}
export async function restPatch(endPoint, data) {
return await _rest(endPoint, {method: "PATCH", body: JSON.stringify(data));
return await _rest(endPoint, {method: "PATCH", body: JSON.stringify(data)});
}
/**