Skip to content

Commit

Permalink
fix(infra): change signUpDto to newSignUpDto
Browse files Browse the repository at this point in the history
  • Loading branch information
goathoon committed May 18, 2024
1 parent 154118c commit d6e94d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/backend/apps/client/src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,15 @@ export class UserService {
const returnUser: User = await this.prisma.$transaction(async (prisma) => {
const user = await prisma.user.create({
data: {
username: signUpDto.username,
username: newSignUpDto.username,
password: newSignUpDto.password,
email: signUpDto.email
email: newSignUpDto.email
}
})

await prisma.userProfile.create({
data: {
realName: signUpDto.realName,
realName: newSignUpDto.realName,
user: {
connect: { id: user.id }
}
Expand Down

0 comments on commit d6e94d2

Please sign in to comment.