Procházet zdrojové kódy

Use new user route

sbkwgh před 7 roky
rodič
revize
a0626d01c4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
 				})