Selaa lähdekoodia

Use new user route

sbkwgh 7 vuotta sitten
vanhempi
commit
a0626d01c4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
 				})