misc: lowercase authoirzation

This commit is contained in:
Xylight committed 2024-07-27 13:25:40 -07:00
1 parent e251141e2f
commit 3803649d93
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ export function client({
let jwt = auth ? auth : get(profile)?.jwt
let headers = jwt ? { Authorization: `Bearer ${jwt}` } : {}
const headers = jwt ? { authorization: `Bearer ${jwt}` } : {}
return new LemmyHttp(instanceToURL(instanceURL), {
fetchFunction: (input, init) => customFetch(func, input, init, jwt),