From 6291eaa819d084012b01d74f82d66bf9fe8694c3 Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Thu, 10 Apr 2025 14:50:46 +0200 Subject: [PATCH] add http-server part 6.3 --- backend/broker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/broker.ts b/backend/broker.ts index 07940d1..771cf47 100644 --- a/backend/broker.ts +++ b/backend/broker.ts @@ -1,5 +1,6 @@ import { exec } from 'child_process'; import * as fs from 'fs'; +import * as nodemailer from 'nodemailer'; // Config for scheduling the next time the main process (sending of horoscope) is run interface Config { @@ -17,7 +18,7 @@ interface Node { var config : Config; -const nodemailer = require('nodemailer'); +//const nodemailer = require('nodemailer'); export function executeCommand(): void {