1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 14:58:24 +09:00
This commit is contained in:
syuilo 2022-04-03 16:35:36 +09:00
parent 91f4ec3747
commit ff9a074ab6

View File

@ -15,7 +15,7 @@ type IWebFinger = {
export default async function(query: string): Promise<IWebFinger> {
const url = genUrl(query);
return await getJson(url, 'application/jrd+json, application/json');
return await getJson(url, 'application/jrd+json, application/json') as IWebFinger;
}
function genUrl(query: string) {