Skip to content

Commit 932763c

Browse files
committed
Fix Authorization header
1 parent 71063e1 commit 932763c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export async function queryApi(path: string, apiToken: string) {
7777
return await fetch(`${API_V0_URL}/${path}`, {
7878
method: 'GET',
7979
headers: {
80-
Authorization: `Basic ${btoa(`${apiToken}:${apiToken}`)}`
80+
Authorization: `Basic ${btoa(`${apiToken}:`)}`
8181
}
8282
})
8383
}

0 commit comments

Comments
 (0)