diff --git a/src/store/membership.js b/src/store/membership.js index 574f504..80046dd 100644 --- a/src/store/membership.js +++ b/src/store/membership.js @@ -15,7 +15,6 @@ export class Membership { async getData() { try { const response = await http.get(`/users?page=${this.page}&pageSize=${this.pageSize}`); - console.log(response,"admin") this.data = response.body.data.map((item, idx) => { item.key = idx; item.name = item?.user_detail?.name; @@ -33,7 +32,6 @@ export class Membership { async getDataBySuperior() { try { const response = await http.get(`/users/find-by-supperior?page=${this.page}&pageSize=${this.pageSize}`); - console.log(response,"non admin") this.data = response.body.data.map((item, idx) => { item.key = idx; item.name = item?.user_detail?.name; diff --git a/src/store/product.js b/src/store/product.js index 694f715..9422e8d 100644 --- a/src/store/product.js +++ b/src/store/product.js @@ -74,7 +74,7 @@ export class Product { await this.getData(); return response; } catch (e) { - console.error(e); + console.error(e) } } diff --git a/tes.http b/tes.http deleted file mode 100644 index 5c8644d..0000000 --- a/tes.http +++ /dev/null @@ -1,17 +0,0 @@ -POST https://ppob-backend.k3s.bangun-kreatif.com/v1/auth/login HTTP/1.1 -content-type: application/json - -{ - "username": "admin", - "password": 123 -} - -### - -POST https://ppob-backend.k3s.bangun-kreatif.com/v1/auth/login HTTP/1.1 -content-type: application/json - -{ - "username": "admin", - "password": 123 -} \ No newline at end of file