fixup! refactor(ApPersonService.ts
): 返り値をvoid
に統一
This commit is contained in:
parent
bfa0fcd6f0
commit
083cd678ab
|
@ -738,11 +738,11 @@ export class ApInboxService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
private async move(actor: RemoteUser, activity: IMove): Promise<string> {
|
private async move(actor: RemoteUser, activity: IMove): Promise<void> {
|
||||||
// fetch the new and old accounts
|
// fetch the new and old accounts
|
||||||
const targetUri = getApHrefNullable(activity.target);
|
const targetUri = getApHrefNullable(activity.target);
|
||||||
if (!targetUri) return 'skip: invalid activity target';
|
if (!targetUri) return;
|
||||||
|
|
||||||
return await this.apPersonService.updatePerson(actor.uri) ?? 'skip: nothing to do';
|
await this.apPersonService.updatePerson(actor.uri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue