mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: notifications: use username in workspace URLs (#14011)
This commit is contained in:
@@ -4,7 +4,8 @@ SELECT nt.name AS notificatio
|
||||
nt.actions AS actions,
|
||||
u.id AS user_id,
|
||||
u.email AS user_email,
|
||||
COALESCE(NULLIF(u.name, ''), NULLIF(u.username, ''))::text AS user_name
|
||||
COALESCE(NULLIF(u.name, ''), NULLIF(u.username, ''))::text AS user_name,
|
||||
COALESCE(u.username, '') AS user_username
|
||||
FROM notification_templates nt,
|
||||
users u
|
||||
WHERE nt.id = @notification_template_id
|
||||
|
||||
Reference in New Issue
Block a user