fix: use profile.instance instead of instance store

This commit is contained in:
Xylight committed 2024-07-20 11:55:54 -07:00
1 parent c0eb89cbbf
commit 4621fe587e
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ export function client({
) => Promise<Response>
auth?: string
} = {}) {
if (!instanceURL) instanceURL = get(instance)
if (!instanceURL) instanceURL = get(profile).instance
let jwt = auth ? auth : get(profile)?.jwt