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 c57375f734 - Show all commits

View File

@ -1,13 +1,14 @@
const testing = require("../services/mail.services"); const testing = require("../services/mail.services");
const log = require("../utils/logs.utils");
import { logger } from "../utils/logger.utils";
async function getAlive() { async function getAlive() {
log.out("kubeServices.getAlive: alive hook checked", "info"); logger.trace("kubeServices.getAlive: alive hook checked")
return { code: 200, state: { state: "alive", noise: "twit-twoo" } }; return { code: 200, state: { state: "alive", noise: "twit-twoo" } };
} }
async function getReady() { async function getReady() {
log.out("kubeServices.getReady: ready hook checked", "info"); logger.trace("kubeServices.getReady: ready hook checked");
testing.send({ testing.send({
to: "fred@fjla.uk", to: "fred@fjla.uk",
subject: "OwlBoard Test", subject: "OwlBoard Test",