Skip to content

Commit f877bef

Browse files
committed
Fix Authorization header
1 parent d8f2830 commit f877bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)