Use correct status header

This commit is contained in:
Gregor Kleen 2018-01-14 02:30:21 +01:00
parent 7c5c12dc6b
commit d37ee331f6

View File

@ -50,7 +50,7 @@ instance (CryptoRoute ciphertext namespace, Dispatch ciphertext ns) => Dispatch
getCryptoUUIDDispatchR :: UUID -> Handler ()
getCryptoUUIDDispatchR uuid = dispatchID p uuid >>= maybe notFound redirect
getCryptoUUIDDispatchR uuid = dispatchID p uuid >>= maybe notFound (redirectWith found302)
where
p :: Proxy '["Submission"]
p = Proxy