add emailConfigured to status api

This commit is contained in:
Maidul Islam
2023-03-10 23:20:08 -08:00
parent d8ff36f59f
commit dce5c8f621

View File

@@ -1,4 +1,5 @@
import express, { Request, Response } from 'express';
import { SMTP_CONFIGURED } from '../../config';
const router = express.Router();
@@ -8,6 +9,7 @@ router.get(
res.status(200).json({
date: new Date(),
message: 'Ok',
emailConfigured: SMTP_CONFIGURED
})
}
);