Skip to content

Commit 39a31a2

Browse files
authored
Update tokens.pug
1 parent 91dbc19 commit 39a31a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

views/tokens.pug

+4-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ block js
5353
$.ajax({
5454
type: 'post',
5555
data: postParams,
56-
url: '/accessKeys?access_token='+access_token,
56+
headers: {
57+
Authorization : 'Bearer '+access_token
58+
},
59+
url: '/accessKeys',
5760
dataType: 'json',
5861
success: function (data) {
5962
submit = false;

0 commit comments

Comments
 (0)