Use correct status header
This commit is contained in:
parent
7c5c12dc6b
commit
d37ee331f6
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user