Skip to content

Commit

Permalink
Update repository
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihturker committed Mar 11, 2022
1 parent 2e0dc77 commit d7746ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/repository/user.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class UserRepository {
insertUser = async (user: User) => {
try {
await this.provider.query(
'INSERT INTO users(username, password, role, email) VALUES($1, $2, $3)',
'INSERT INTO users(username, password, role, email) VALUES($1, $2, $3, $4)',
[user.username, user.password, user.role, user.email]
);
} catch (error) {
Expand Down

0 comments on commit d7746ef

Please sign in to comment.