fix(build): make linter happy again

This commit is contained in:
Steffen Jost 2024-07-11 15:28:58 +02:00
parent ab28c8c243
commit c17c18f924

View File

@ -467,7 +467,7 @@ serveProfileR (uid, user@User{..}) = do
now <- liftIO getCurrentTime
isAdmin <- checkAdmin
thisUser <- fromMaybe uid <$> maybeAuthId
let changeEmailByUser = (not isAdmin || thisUser == uid)
let changeEmailByUser = not isAdmin || thisUser == uid
changeEmailProper = userDisplayEmail /= stgDisplayEmail && userEmail /= stgDisplayEmail
runDBJobs $ do
update uid $