Re-add node-fetch package

This commit is contained in:
Andrew Lee
2020-08-29 17:48:39 -04:00
parent f1c520fbe8
commit 8fc1fe7d8e

View File

@@ -13,6 +13,8 @@ var getIP = require('../utils/getIP.js');
var getFormattedTime = require('../utils/getFormattedTime.js'); var getFormattedTime = require('../utils/getFormattedTime.js');
var isUserTrustworthy = require('../utils/isUserTrustworthy.js') var isUserTrustworthy = require('../utils/isUserTrustworthy.js')
const fetch = require('node-fetch');
function sendDiscordNotification(userID, videoID, UUID, segmentInfo) { function sendDiscordNotification(userID, videoID, UUID, segmentInfo) {
//check if they are a first time user //check if they are a first time user
//if so, send a notification to discord //if so, send a notification to discord