From 4139be32f9eac9283b16aea215347bb688f120be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Fri, 13 Jan 2023 00:04:37 +0800 Subject: [PATCH] chore: cleanup --- composables/users.ts | 2 +- pages/settings/profile/appearance.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/composables/users.ts b/composables/users.ts index 143f5b82..9af04f68 100644 --- a/composables/users.ts +++ b/composables/users.ts @@ -110,7 +110,7 @@ async function loginTo(user?: Omit & { account?: mastodon. const instance = await fetchV1Instance({ url, }) - const masto = await createClient({ + const masto = createClient({ url, streamingApiUrl: instance.urls.streamingApi, accessToken: user?.token, diff --git a/pages/settings/profile/appearance.vue b/pages/settings/profile/appearance.vue index d5f4f444..f1636580 100644 --- a/pages/settings/profile/appearance.vue +++ b/pages/settings/profile/appearance.vue @@ -1,6 +1,5 @@