fix(build): make linter happy again
This commit is contained in:
parent
ab28c8c243
commit
c17c18f924
@ -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 $
|
||||
|
||||
Loading…
Reference in New Issue
Block a user