Fix type error

This commit is contained in:
Gregor Kleen 2018-01-14 02:30:12 +01:00
parent 6bf0f321cf
commit 7c5c12dc6b

View File

@ -29,7 +29,7 @@ class KnownSymbol namespace => CryptoRoute ciphertext namespace where
instance CryptoRoute UUID "Submission" where
cryptoIDRoute cID = do
cIDKey <- getsYesod appCryptoIDKey
sId <- UUID.decrypt cIDKey cID
(_ :: SubmissionId) <- UUID.decrypt cIDKey cID
return $ SubmissionR cID