Created
December 16, 2021 00:48
-
-
Save lobot/2a2b0dff8555813fed35d0155965f3d9 to your computer and use it in GitHub Desktop.
webhook-basics-webhook.controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongoose = require('mongoose'); | |
const Document = require('../models/letter'); | |
/* | |
* POST /processWebhookEvent to process events from Lob. | |
*/ | |
function processWebhookEventPost(req, res) { | |
console.log(req.body) | |
} | |
//export all the functions | |
module.exports = { processWebhookEventPost }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment