Created new module for alerts
This commit is contained in:
parent
c462f805be
commit
169c242e35
9
nodeapp/src/alert.js
Normal file
9
nodeapp/src/alert.js
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
const path = require('path')
|
||||||
|
const twit = require('twit')
|
||||||
|
require('dotenv').config({path: path.join(__dirname, '../../.env')})
|
||||||
|
|
||||||
|
const alert = (type) => {
|
||||||
|
console.log('Alert triggered for type: ' + type)
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = alert
|
Loading…
Reference in New Issue
Block a user