Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Feb 16, 2024
1 parent a177c73 commit e76203b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export class DeleteAccountProcessorService {
const profile = await this.userProfilesRepository.findOneByOrFail({ userId: user.id });

// data from src/server/api/endpoints/users/show.ts
const detailedUser = await this.userEntityService.pack(user, null, {
detail: true,
const detailedUser = await this.userEntityService.pack<'UserDetailed'>(user, null, {
schema: 'UserDetailed',
asModerator: true,
});

Expand Down

0 comments on commit e76203b

Please sign in to comment.