misc: lowercase authoirzation
This commit is contained in:
1 parent
e251141e2f
commit
3803649d93
2 files changed
+5
-3
No files matched your search
+1
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user