Skip to content

Commit f736c5c

Browse files
committed
attempt to fix token
1 parent a1b36c6 commit f736c5c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

code/script.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Use token locally or from build environment
2+
const API_TOKEN = TOKEN;
23
const PAT = {
34
method: 'GET',
45
headers: {
5-
Authorization: TOKEN
6+
Authorization: `token ${API_TOKEN}`
67
}
78
}
89

0 commit comments

Comments
 (0)