Add runtime config debug logging for test push flow.
Log DB_URL alongside FCM_SERVICE_ACCOUNT_KEY during test-push requests and keep compose env-file wiring aligned with current local debug setup. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
cd0ae19d03
commit
6f1cb24c63
|
|
@ -101,6 +101,8 @@ services:
|
|||
context: .
|
||||
dockerfile: Dockerfile
|
||||
target: runner
|
||||
# env_file:
|
||||
# - .env
|
||||
ports:
|
||||
- "${PORT}:${PORT}"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -729,6 +729,7 @@ func (h *Handler) SendTestPushNotification(c *fiber.Ctx) error {
|
|||
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),
|
||||
zap.String("db_url", h.Cfg.DbUrl),
|
||||
)
|
||||
|
||||
userID, ok := c.Locals("user_id").(int64)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user