Minor cleanup
This commit is contained in:
parent
845369a27a
commit
b514ee3c92
@ -23,7 +23,7 @@ getSubmissionListR = do
|
||||
cIDKey <- getsYesod appCryptoIDKey
|
||||
let
|
||||
cryptEntity :: Entity Submission -> Handler (CryptoUUIDSubmission, Submission)
|
||||
cryptEntity (Entity key val) = (, val) <$> UUID.encrypt cIDKey (traceShowId key)
|
||||
cryptEntity (Entity key val) = (, val) <$> UUID.encrypt cIDKey key
|
||||
submissionList <- mapM cryptEntity entityList
|
||||
defaultLayout $(widgetFile "submission-list")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user