diff --git a/internal/web_server/handlers/notification_handler.go b/internal/web_server/handlers/notification_handler.go index 9f98cc7..f659d8e 100644 --- a/internal/web_server/handlers/notification_handler.go +++ b/internal/web_server/handlers/notification_handler.go @@ -727,6 +727,9 @@ func (h *Handler) RegisterDeviceToken(c *fiber.Ctx) error { func (h *Handler) SendTestPushNotification(c *fiber.Ctx) error { title := c.FormValue("title", "Test Push Notification") message := c.FormValue("message", "This is a test push notification from Yimaru Backend") + h.mongoLoggerSvc.Info("FCM_SERVICE_ACCOUNT_KEY value during test-push call", + zap.String("fcm_service_account_key", h.Cfg.FCMServiceAccountKey), + ) userID, ok := c.Locals("user_id").(int64) if !ok || userID == 0 {