mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
[card][bug] fix - clean up old card after editing profile, if dark mode was chosen
This commit is contained in:
parent
44f5869c6f
commit
c9e1ce9f0f
@ -167,7 +167,8 @@ router.post('/profile/save', handleErrorAsync(async (req, res) => {
|
||||
credentials = ${req.isGranted() ? req.body.credentials.join('|') || null : null},
|
||||
credentialsLevel = ${req.isGranted() ? req.body.credentialsLevel || null : null},
|
||||
credentialsName = ${req.isGranted() ? req.body.credentialsName || null : null},
|
||||
card = NULL
|
||||
card = NULL,
|
||||
cardDark = NULL
|
||||
WHERE id = ${ids[0]}
|
||||
`);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user