Skip to content

Commit

Permalink
cleanup(ApPersonService.ts): deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
okayurisotto committed Jul 2, 2023
1 parent a003fb2 commit 8cd1152
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,6 @@ export class ApPersonService implements OnModuleInit {
*/
@bindThis
public async resolvePerson(uri: string, resolver?: Resolver): Promise<LocalUser | RemoteUser> {
if (typeof uri !== 'string') throw new Error('uri is not string');

//#region このサーバーに既に登録されていたらそれを返す
const exist = await this.fetchPerson(uri);

Expand Down

0 comments on commit 8cd1152

Please sign in to comment.