Bug Fixing PPOB
This commit is contained in:
@@ -47,7 +47,7 @@ export class Membership {
|
||||
async getDetail(id) {
|
||||
try {
|
||||
const response = await http.get(`/users/`+id);
|
||||
//console.log(response,'Data Detail')
|
||||
console.log(response,'Data Detail')
|
||||
this.dataDetail = response.body.data
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
@@ -114,6 +114,7 @@ export class Membership {
|
||||
async changeStatus(id, status) {
|
||||
try {
|
||||
const response = await http.get(`/users/${id}/${status}`);
|
||||
console.log(status,"change status")
|
||||
await this.getData();
|
||||
return response;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user