fix: swag username
Some checks failed
/ build (map[dockerfile:./services/watchers/Dockerfile name:watchers]) (push) Waiting to run
/ build (map[dockerfile:./services/web/Dockerfile name:web]) (push) Waiting to run
/ deploy (push) Blocked by required conditions
/ build (map[dockerfile:./services/app/Dockerfile name:app]) (push) Has been cancelled
/ build (map[dockerfile:./services/api/Dockerfile name:api]) (push) Has been cancelled
/ build (map[dockerfile:./services/files/Dockerfile name:files]) (push) Has been cancelled
/ build (map[dockerfile:./services/hasura/Dockerfile name:hasura]) (push) Has been cancelled
/ build (map[dockerfile:./services/tasks/Dockerfile name:tasks]) (push) Has been cancelled

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
`