create offer stitched with backend

This commit is contained in:
counterweight 2025-02-26 00:48:16 +01:00
parent 4eef0a57e0
commit b430b42b60
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
5 changed files with 37 additions and 14 deletions

View file

@ -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);