create offer stitched with backend
This commit is contained in:
parent
4eef0a57e0
commit
b430b42b60
5 changed files with 37 additions and 14 deletions
|
|
@ -223,7 +223,7 @@ router.post(
|
|||
attachPublicKeyMiddleware,
|
||||
async (req, res) => {
|
||||
const publicKey = req.cookies.publicKey;
|
||||
const { offerDetails } = req.body.offerDetails;
|
||||
const offerDetails = req.body.offerDetails;
|
||||
|
||||
await offerService.createOffer(publicKey, offerDetails);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue