From ac660e3170561f43018d47ac4f77cc3f3076ef86 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Apr 2018 13:05:10 +0900 Subject: [PATCH] oops --- src/remote/resolve-user.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/remote/resolve-user.ts b/src/remote/resolve-user.ts index edb4c7860..9e1ae5195 100644 --- a/src/remote/resolve-user.ts +++ b/src/remote/resolve-user.ts @@ -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;