Browse Source

Use new user route

sbkwgh 7 năm trước cách đây
mục cha
commit
a0626d01c4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      frontend/src/components/AdminNewAdmin.vue

+ 1 - 1
frontend/src/components/AdminNewAdmin.vue

@@ -89,7 +89,7 @@
 		},
 		created () {
 			this.axios
-				.get('/api/v1/user?admin=true')
+				.get('/api/v1/user?role=admin')
 				.then(res => {
 					this.admins = res.data
 				})