newStaffLDB-API #48

Merged
fred.boniface merged 85 commits from newStaffLDB-API into main 2023-10-03 21:35:03 +01:00
Showing only changes of commit 2417a7ba53 - Show all commits

View File

@ -1,5 +1,3 @@
const testing = require("../services/mail.services");
import { logger } from "../utils/logger.utils"; import { logger } from "../utils/logger.utils";
async function getAlive() { async function getAlive() {
@ -9,16 +7,11 @@ async function getAlive() {
async function getReady() { async function getReady() {
logger.trace("kubeServices.getReady: ready hook checked"); logger.trace("kubeServices.getReady: ready hook checked");
testing.send({
to: "fred@fjla.uk",
subject: "OwlBoard Test",
txt: "This is a test message from OwlBoard (testing)",
});
return "not_implemented"; return "not_implemented";
} }
async function getTime() { async function getTime() {
var now = new Date(); var now: Date = new Date();
return { responseGenerated: now }; return { responseGenerated: now };
} }