This commit is contained in:
@@ -39,7 +39,7 @@ export default {
|
||||
const sAction = this.action;
|
||||
this.loading = true;
|
||||
|
||||
this.api.request(sAction, {'email': this.user.email, 'name': this.user.name})
|
||||
this.api.request(sAction, {'email': this.user.email, 'name': this.user.name}, 'POST')
|
||||
.then((asResponse) => {
|
||||
this.feedbacks.push({type: asResponse.result, msg: asResponse.desc});
|
||||
this.user.setInfo(asResponse.data);
|
||||
|
||||
Reference in New Issue
Block a user