fix: swag username

This commit is contained in:
devthejo 2026-01-17 13:59:31 +01:00
parent d81bcf43cf
commit f4ce6d516f
No known key found for this signature in database
GPG key ID: 00CCA7A92B1D5351

View file

@ -35,8 +35,8 @@ module.exports = async function updateUserWithUniqueUsername(
username = ${username}
WHERE
id = ${userId}
AND username IS NULL
OR username = ''
AND (username IS NULL
OR username = '')
RETURNING
id
`