Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.

Commit 67e2334

Browse files
GET /me (#4)
1 parent 95978ed commit 67e2334

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/views/MeView.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@ export default {
3737
fetch(
3838
`${process.env.VUE_APP_API_AUTH}/me?info=groups&info=indirect_groups`,
3939
{
40-
method: 'POST',
40+
method: 'GET',
4141
cache: 'no-cache',
4242
redirect: 'follow',
4343
headers: {
4444
'Content-Type': 'application/json',
45-
'Authorization': `token ${value}`,
46-
'token': `${value}`,
45+
'Authorization': `${value}`,
4746
},
4847
},
4948
)

0 commit comments

Comments
 (0)