Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayahhhmed committed Jul 1, 2024
1 parent ddec9c7 commit 16b5a53
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ export class UserService {

async getUserSettings(_userId: string): Promise<SettingsDto> {
try {
const { userId, ...settings } = await this.prisma.settings.findUniqueOrThrow({
where: { userId: _userId },
});
const { userId, ...settings } =
await this.prisma.settings.findUniqueOrThrow({
where: { userId: _userId },
});

return Promise.resolve(settings);
} catch (e) {
Expand Down

0 comments on commit 16b5a53

Please sign in to comment.