Registering Service Stub #59
@ -15,6 +15,10 @@ export async function restDelete(endPoint, data) {
|
|||||||
return await _rest(endPoint, {method: "DELETE", body: data});
|
return await _rest(endPoint, {method: "DELETE", body: data});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function restPatch(endPoint, data) {
|
||||||
|
return await _rest(endPoint, {method: "PATCH", body: data});
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* backbone for the request made by the frontend
|
* backbone for the request made by the frontend
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user