Skip to content

Commit

Permalink
cleanup(ApPersonService.ts)
Browse files Browse the repository at this point in the history
  • Loading branch information
okayurisotto committed Jul 2, 2023
1 parent 8cd1152 commit f4a8e74
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,7 @@ export class ApPersonService implements OnModuleInit {
public async resolvePerson(uri: string, resolver?: Resolver): Promise<LocalUser | RemoteUser> {
//#region このサーバーに既に登録されていたらそれを返す
const exist = await this.fetchPerson(uri);

if (exist) {
return exist;
}
if (exist) return exist;
//#endregion

// リモートサーバーからフェッチしてきて登録
Expand Down

0 comments on commit f4a8e74

Please sign in to comment.