Base for rest api utilisation #53
@ -15,6 +15,10 @@ export async function restDelete(endPoint, data) {
 | 
			
		||||
	return await _rest(endPoint, {method: "DELETE", body: data});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 
					
					tonitch marked this conversation as resolved
					
				 
				 | 
			||||
export async function restPatch(endPoint, data) {
 | 
			
		||||
	return await _rest(endPoint, {method: "PATCH", body: data});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * backbone for the request made by the frontend
 | 
			
		||||
 *
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user
	
pas de restPatch function ?
Pas encore fait parce que j'allais dormir ^^ c'est un stub (d'ou le WIP:) qui n'est pas fini mais merci pour la remarque