1
0
mirror of https://github.com/Infisical/infisical.git synced 2025-03-27 09:40:45 +00:00

add emailConfigured to status api

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

@ -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
})
}
);