Fix duplicate user error

This commit is contained in:
Melora Hugues 2024-10-19 15:13:24 +02:00
parent c741400583
commit 92d014965b
2 changed files with 1 additions and 1 deletions

View file

@ -22,7 +22,7 @@ const getUserQuery = `
WHERE id = ?
`
const insertUserQuery = `
INSERT INTO user (id, name, family_name, given_name, nickname, picture, updated_at, email, email_verified)
INSERT OR REPLACE INTO user (id, name, family_name, given_name, nickname, picture, updated_at, email, email_verified)
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
`

Binary file not shown.