This commit is contained in:
Christopher Cookman 2025-12-20 14:20:10 -07:00
parent 3cd696d431
commit 08747ecb3d

View file

@ -113,6 +113,8 @@ app.get('/', (req, res) => {
app.post('/trig', async (req, res) => { app.post('/trig', async (req, res) => {
console.log('Triggering call with data:', req.body); console.log('Triggering call with data:', req.body);
trigCall(req.body.pageType, req.body.phone);
res.status(200).send('Call triggered');
}); });
app.listen(PORT, HOST, () => { app.listen(PORT, HOST, () => {