From a166938d42bad67f09448ca878a8f01da4b78835 Mon Sep 17 00:00:00 2001 From: Tola Leng Date: Sat, 17 May 2025 16:44:45 +0800 Subject: [PATCH] Removes the SSL `testSendTelegramMessage` function and its associated test credentials from `telegramService.ts`. --- application/src/services/ssl/notification/index.ts | 13 ++++++------- application/src/services/sslCertificateService.ts | 6 ++---- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/application/src/services/ssl/notification/index.ts b/application/src/services/ssl/notification/index.ts index 14deb11..7c5d17c 100644 --- a/application/src/services/ssl/notification/index.ts +++ b/application/src/services/ssl/notification/index.ts @@ -1,10 +1,9 @@ // Export all SSL notification related functionality export { - checkAllCertificatesAndNotify, - checkCertificateAndNotify, - testCertificateNotification - } from './sslCheckNotifier'; - - export { sendSSLNotification } from './sslNotificationSender'; - export { shouldRunDailyCheck } from './sslScheduleUtils'; \ No newline at end of file + checkAllCertificatesAndNotify, + checkCertificateAndNotify +} from './sslCheckNotifier'; + +export { sendSSLNotification } from './sslNotificationSender'; +export { shouldRunDailyCheck } from './sslScheduleUtils'; \ No newline at end of file diff --git a/application/src/services/sslCertificateService.ts b/application/src/services/sslCertificateService.ts index 864b82a..8682135 100644 --- a/application/src/services/sslCertificateService.ts +++ b/application/src/services/sslCertificateService.ts @@ -13,8 +13,7 @@ import { determineSSLStatus } from './ssl/sslStatusUtils'; import { checkAllCertificatesAndNotify, checkCertificateAndNotify, - shouldRunDailyCheck, - testCertificateNotification + shouldRunDailyCheck } from './ssl/notification'; export { @@ -25,6 +24,5 @@ export { checkAndUpdateCertificate, checkAllCertificatesAndNotify, checkCertificateAndNotify, - shouldRunDailyCheck, - testCertificateNotification + shouldRunDailyCheck }; \ No newline at end of file