mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 02:43:08 +02:00
fix type
This commit is contained in:
parent
91f4ec3747
commit
ff9a074ab6
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue