fe can read from back

This commit is contained in:
counterweight 2025-03-01 23:18:18 +01:00
parent 9e2af37158
commit 0e0a094dc8
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 48 additions and 2 deletions

View file

@ -51,8 +51,6 @@ async function getOffersByPublicKey(publicKey) {
order: [['created_at', 'DESC']],
});
console.log(offerDetails);
offersToReturn.push({
uuid: someOffer.uuid,
public_key: someOffer.public_key,
@ -68,6 +66,8 @@ async function getOffersByPublicKey(publicKey) {
is_onchain_accepted: offerDetails.is_onchain_accepted,
is_lightning_accepted: offerDetails.is_lightning_accepted,
are_big_notes_accepted: offerDetails.are_big_notes_accepted,
created_at: someOffer.created_at,
last_updated_at: offerDetails.created_at,
});
}
}