We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab2f2a commit f00f662Copy full SHA for f00f662
src/Maestro/API/Transaction.hs
@@ -12,7 +12,7 @@ data TxAPI route = TxAPI
12
:- "submit"
13
:> "tx"
14
:> ReqBody' '[Required] '[CBORStream] BS.ByteString
15
- :> Post '[JSON] T.Text,
+ :> PostAccepted '[JSON] T.Text,
16
_txCborApi ::
17
route
18
:- "transactions"
src/Maestro/API/TxManager.hs
@@ -10,6 +10,6 @@ newtype TxManagerAPI route = TxManagerAPI
10
{ _monitorTxSubmit ::
11
:- ReqBody' '[Required] '[CBORStream] BS.ByteString
- :> Post '[JSON] T.Text
+ :> PostAccepted '[JSON] T.Text
}
deriving (Generic)
0 commit comments