mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Add promise type to fetches
This commit is contained in:
@ -3,7 +3,7 @@ import client from '@api/client'
|
||||
export const instanceFetch = async (
|
||||
key: string,
|
||||
{ instanceDomain }: { instanceDomain: string }
|
||||
) => {
|
||||
): Promise<Mastodon.Instance> => {
|
||||
const res = await client({
|
||||
method: 'get',
|
||||
instance: 'remote',
|
||||
|
Reference in New Issue
Block a user