mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
oops
This commit is contained in:
parent
ddced43ec7
commit
62171dce22
@ -1,7 +1,6 @@
|
|||||||
import { toUnicode, toASCII } from 'punycode';
|
import { toUnicode, toASCII } from 'punycode';
|
||||||
import User from '../models/user';
|
import User from '../models/user';
|
||||||
import resolvePerson from './activitypub/resolve-person';
|
import resolvePerson from './activitypub/resolve-person';
|
||||||
import Resolver from './activitypub/resolver';
|
|
||||||
import webFinger from './webfinger';
|
import webFinger from './webfinger';
|
||||||
|
|
||||||
export default async (username, host, option) => {
|
export default async (username, host, option) => {
|
||||||
@ -20,7 +19,7 @@ export default async (username, host, option) => {
|
|||||||
throw new Error('self link not found');
|
throw new Error('self link not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
user = await resolvePerson(new Resolver(), self.href, acctLower);
|
user = await resolvePerson(self.href, acctLower);
|
||||||
}
|
}
|
||||||
|
|
||||||
return user;
|
return user;
|
||||||
|
Loading…
Reference in New Issue
Block a user