fix: use profile.instance instead of instance store
This commit is contained in:
1 parent
c0eb89cbbf
commit
4621fe587e
1 file changed
+1
-1
+1
-1
@@ -61,7 +61,7 @@ export function client({
|
|||||||
) => Promise<Response>
|
) => Promise<Response>
|
||||||
auth?: string
|
auth?: string
|
||||||
} = {}) {
|
} = {}) {
|
||||||
if (!instanceURL) instanceURL = get(instance)
|
if (!instanceURL) instanceURL = get(profile).instance
|
||||||
|
|
||||||
let jwt = auth ? auth : get(profile)?.jwt
|
let jwt = auth ? auth : get(profile)?.jwt
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user