Sfoglia il codice sorgente

Use username not id

sbkwgh 8 anni fa
parent
commit
ba09a6c77f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/AvatarIcon.vue

+ 1 - 1
src/components/AvatarIcon.vue

@@ -35,7 +35,7 @@
 				if(this.ajaxUser) return
 
 				this.axios
-					.get('/api/v1/user/' + this.user.id)
+					.get('/api/v1/user/' + this.user.username)
 					.then((res) => {
 						this.ajaxUser = res.data
 					})