Fixing the cross origine on the frontend side + request in json #79
@ -16,7 +16,7 @@ export async function restDelete(endPoint, data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function restPatch(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)});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user