chore: cleanup

This commit is contained in:
三咲智子 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'