FINAL COMMIT
This commit is contained in:
@ -140,8 +140,9 @@ export async function getSelf(){
|
||||
* - Adress
|
||||
* - Password
|
||||
*/
|
||||
export async function alterSelf(data){
|
||||
return restPatch("/user", data);
|
||||
export async function alterSelf(id,data){
|
||||
console.log(data)
|
||||
return restPatch("/user/"+id, data);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user