adding patch to restConsumer
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m57s
Build and test backend / Test-backend (pull_request) Successful in 1m51s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 20s

This commit is contained in:
Debucquoy Anthony 2024-03-05 19:31:35 +01:00
parent e17ceab0e6
commit 73cc296a49
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -15,6 +15,10 @@ export async function restDelete(endPoint, 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
*