mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-03-31 13:32:15 +09:00
refactor(ApPersonService.ts
): function return type
This commit is contained in:
parent
4535728625
commit
a40ea8163e
@ -594,7 +594,7 @@ export class ApPersonService implements OnModuleInit {
|
||||
}
|
||||
|
||||
@bindThis
|
||||
public async updateFeatured(userId: User['id'], resolver?: Resolver) {
|
||||
public async updateFeatured(userId: User['id'], resolver?: Resolver): Promise<void> {
|
||||
const user = await this.usersRepository.findOneByOrFail({ id: userId });
|
||||
if (!this.userEntityService.isRemoteUser(user)) return;
|
||||
if (!user.featured) return;
|
||||
|
Loading…
Reference in New Issue
Block a user