mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
oops
This commit is contained in:
parent
68311019bf
commit
ac660e3170
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
import { toUnicode, toASCII } from 'punycode';
|
||||
import User from '../models/user';
|
||||
import resolvePerson from './activitypub/resolve-person';
|
||||
import Resolver from './activitypub/resolver';
|
||||
import webFinger from './webfinger';
|
||||
|
||||
export default async (username, host, option) => {
|
||||
|
@ -20,7 +19,7 @@ export default async (username, host, option) => {
|
|||
throw new Error('self link not found');
|
||||
}
|
||||
|
||||
user = await resolvePerson(new Resolver(), self.href, acctLower);
|
||||
user = await resolvePerson(self.href, acctLower);
|
||||
}
|
||||
|
||||
return user;
|
||||
|
|
Loading…
Add table
Reference in a new issue