1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00

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'