mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-18 21:15:31 +02:00
Some fixes and refactors
This commit is contained in:
@@ -5,12 +5,12 @@ const webFinger = new WebFinger({});
|
||||
type ILink = {
|
||||
href: string;
|
||||
rel: string;
|
||||
}
|
||||
};
|
||||
|
||||
type IWebFinger = {
|
||||
links: Array<ILink>;
|
||||
links: ILink[];
|
||||
subject: string;
|
||||
}
|
||||
};
|
||||
|
||||
export default (query, verifier): Promise<IWebFinger> => new Promise((res, rej) => webFinger.lookup(query, (error, result) => {
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user