diff --git a/functions/check-reward-status.js b/functions/check-reward-status.js index c41cdf9..29c2bb6 100644 --- a/functions/check-reward-status.js +++ b/functions/check-reward-status.js @@ -1,3 +1,8 @@ +/** + * This function is called by the Shopify webhook + * whenever an order is created. + */ + const { postToHasura } = require('./util/postToHasura'); exports.handler = async (event) => {