Crud Membership
This commit is contained in:
		| @@ -23,16 +23,16 @@ export class Membership { | ||||
|  | ||||
|     @action | ||||
|     async create(data) { | ||||
|         return await http.post('/user').send(data) | ||||
|         return await http.post('/users').send(data) | ||||
|     } | ||||
|  | ||||
|     @action | ||||
|     async update(id, data) { | ||||
|         return await http.put('/user/' + id).send(data); | ||||
|         return await http.put('/users/' + id).send(data); | ||||
|     } | ||||
|  | ||||
|     async delete(id) { | ||||
|         return await http.del('/user/' + id); | ||||
|         return await http.del('/users/' + id); | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user