소스 검색

Use username not id

sbkwgh 8 년 전
부모
커밋
ba09a6c77f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 					})