You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YoutubeDL-Material/backend/notifications.js

13 lines
315 B
JavaScript

const utils = require('./utils');
const logger = require('./logger');
const db_api = require('./db');
exports.sendNotification = async () => {
// TODO: hook into third party service
const notification = {}
await db_api.insertRecordIntoTable('notifications', notification);
return notification;
}