diff --git a/services/gunDB/contact-api/jobs/onOrders.js b/services/gunDB/contact-api/jobs/onOrders.js index cf86db5a..7e5ae2ca 100644 --- a/services/gunDB/contact-api/jobs/onOrders.js +++ b/services/gunDB/contact-api/jobs/onOrders.js @@ -54,7 +54,7 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => { .get(orderID) .then() - if (alreadyAnswered) { + if (await alreadyAnswered) { logger.info('this order is already answered, quitting') return }