Skip to content

Commit 088841c

Browse files
committed
fetch profile data using token
1 parent 2797963 commit 088841c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Navigation.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default({
5656
getProfile(){
5757
axios({
5858
method: 'get',
59-
url: '/api/v1/profile/isebella',
59+
url: '/api/v1/profile',
6060
}).then(response => this.user = response.data)
6161
},
6262
},

src/views/Profile.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default({
8787
getProfile(){
8888
axios({
8989
method: 'get',
90-
url: '/api/v1/profile/isebella',
90+
url: '/api/v1/profile',
9191
}).then(response => this.user = response.data)
9292
},
9393
},

0 commit comments

Comments
 (0)