diff --git a/src/lib/lemmy.ts b/src/lib/lemmy.ts index e45defe5..91ecbff1 100644 --- a/src/lib/lemmy.ts +++ b/src/lib/lemmy.ts @@ -61,7 +61,7 @@ export function client({ ) => Promise auth?: string } = {}) { - if (!instanceURL) instanceURL = get(instance) + if (!instanceURL) instanceURL = get(profile).instance let jwt = auth ? auth : get(profile)?.jwt