Skip to content

Commit

Permalink
chore: Apply suggestion from code review
Browse files Browse the repository at this point in the history
Co-authored-by: anatawa12 <[email protected]>
  • Loading branch information
Sayamame-beans and anatawa12 committed Jul 3, 2024
1 parent f83d2fe commit 6dfff07
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,7 @@ export class ApPersonService implements OnModuleInit {

if (((avatar != null && avatar.id !== null) || (banner != null && banner.id !== null))
&& !(await this.roleService.getUserPolicies(user.id)).canUpdateBioMedia) {
return {
...{},
...{},
};
return {};
}

/*
Expand Down

0 comments on commit 6dfff07

Please sign in to comment.