diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-07 13:05:10 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-07 13:05:10 +0900 |
| commit | 62171dce226164cfe263c8a44153b72eb4b1c118 (patch) | |
| tree | 9c00c924d116624586806c2b7bd16cec1352d29e /src/remote | |
| parent | Merge branch 'master' into refactor (diff) | |
| download | sharkey-62171dce226164cfe263c8a44153b72eb4b1c118.tar.gz sharkey-62171dce226164cfe263c8a44153b72eb4b1c118.tar.bz2 sharkey-62171dce226164cfe263c8a44153b72eb4b1c118.zip | |
oops
Diffstat (limited to 'src/remote')
| -rw-r--r-- | src/remote/resolve-user.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/remote/resolve-user.ts b/src/remote/resolve-user.ts index edb4c78607..9e1ae51952 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; |