wip
This commit is contained in:
parent
7403f38fb4
commit
fd87a63e57
3 changed files with 4 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ export default async (username, host, option) => {
|
|||
const finger = await webFinger(acctLower, acctLower);
|
||||
const self = finger.links.find(link => link.rel && link.rel.toLowerCase() === 'self');
|
||||
if (!self) {
|
||||
throw new Error();
|
||||
throw new Error('self link not found');
|
||||
}
|
||||
|
||||
user = await resolvePerson(self.href, acctLower);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue