Skip to content

Commit

Permalink
docs (#474): add context for serverless function
Browse files Browse the repository at this point in the history
  • Loading branch information
bencodezen committed Mar 15, 2021
1 parent ea0ee00 commit 4399864
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions functions/check-reward-status.js
Original file line number Diff line number Diff line change
@@ -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) => {
Expand Down

0 comments on commit 4399864

Please sign in to comment.