Skip to content

Commit

Permalink
Update postgres.js
Browse files Browse the repository at this point in the history
  • Loading branch information
masfahru authored Jun 10, 2024
1 parent ad9ae79 commit eeb015b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ create table if not exists
)`.simple();

export const insertUser = async (user) => sql`insert into users (first_name, last_name, email, password,
age, gender, created_at, updated_at)
age, gender, created_at, updated_at)
values (${user.first_name}, ${user.last_name}, ${user.email},
${user.password}, ${user.age}, ${user.gender},
${user.created_at}, ${user.updated_at})`;
Expand Down

0 comments on commit eeb015b

Please sign in to comment.