chore: cleanup

zio/stable
三咲智子 Kevin Deng 2023-01-13 00:04:37 +08:00
parent d0d0503a13
commit 4139be32f9
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
2 changed files with 1 additions and 2 deletions

View File

@ -110,7 +110,7 @@ async function loginTo(user?: Omit<UserLogin, 'account'> & { account?: mastodon.
const instance = await fetchV1Instance({
url,
})
const masto = await createClient({
const masto = createClient({
url,
streamingApiUrl: instance.urls.streamingApi,
accessToken: user?.token,

View File

@ -1,6 +1,5 @@
<script lang="ts" setup>
import type { mastodon } from 'masto'
import { satisfies } from 'semver'
import { useForm } from 'slimeform'
import { parse } from 'ultrahtml'