Skip to content

Commit f00f662

Browse files
committed
Feat 17: Hackage readiness - important fix related to submission of tx
1 parent cab2f2a commit f00f662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Maestro/API/Transaction.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ data TxAPI route = TxAPI
1212
:- "submit"
1313
:> "tx"
1414
:> ReqBody' '[Required] '[CBORStream] BS.ByteString
15-
:> Post '[JSON] T.Text,
15+
:> PostAccepted '[JSON] T.Text,
1616
_txCborApi ::
1717
route
1818
:- "transactions"

src/Maestro/API/TxManager.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ newtype TxManagerAPI route = TxManagerAPI
1010
{ _monitorTxSubmit ::
1111
route
1212
:- ReqBody' '[Required] '[CBORStream] BS.ByteString
13-
:> Post '[JSON] T.Text
13+
:> PostAccepted '[JSON] T.Text
1414
}
1515
deriving (Generic)

0 commit comments

Comments
 (0)