if (record.changed("financialStatus")) {
const checkForRewardsCancellationHandle = await api.enqueue(api.shopifyOrder.checkForRewardsCancellation, { id: record.id })
logger.debug({ order: record, handle: checkForRewardsCancellationHandle }, "Enqueuing check for rewards cancellation")
}
if (record.changed("financialStatus")) {
const checkForRewardsCancellationHandle = await api.enqueue(api.shopifyOrder.checkForRewardsCancellation, { id: record.id })
logger.debug({ order: record, handle: checkForRewardsCancellationHandle }, "Enqueuing check for rewards cancellation")
}