Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
suk-6 committed Jul 19, 2024
1 parent 9bb2a9b commit 96f8421
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/modules/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ export class UserService {
const user = await this.prisma.user.findUnique({ where: { id } });
if (!user) throw new HttpException('User not found', HttpStatus.NOT_FOUND);

await this.prisma.user.update({
where: { id },
data: { FCMToken },
});
await this.prisma.user
.update({
where: { id },
data: { FCMToken },
})
.then((res) => console.log(res));
}

/**
Expand Down

0 comments on commit 96f8421

Please sign in to comment.