Fix send function headers error

This commit is contained in:
venashial committed 2022-06-25 13:08:20 -07:00
1 parent e9d7df8862
commit fb3a9f1f29
7 files changed
+35 -22

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ export async function send<Operation extends keyof operations>(
const fetchOptions: RequestInit = {
method,
headers: {},
}
const token = get(tokenStore) || options.token