mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 10:56:00 +02:00
wip
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user