diff --git a/contract/src/offer-up.contract.js b/contract/src/offer-up.contract.js index 35815b3..2b9a561 100644 --- a/contract/src/offer-up.contract.js +++ b/contract/src/offer-up.contract.js @@ -136,8 +136,9 @@ export const start = async (zcf, _privateArgs, baggage) => { // Use zone.exo to make a publicFacet suitable for use by remote callers. const publicFacet = zone.exo('Items Public Facet', undefined, { - makeTradeInvitation: () => - zcf.makeInvitation(tradeHandler, 'buy items', undefined, proposalShape), + makeTradeInvitation() { + return zcf.makeInvitation(tradeHandler, 'buy items', undefined, proposalShape), + } }); return harden({ publicFacet }); };