Compare commits
No commits in common. "cd0ae19d032683aa6cef99c568b2573ff4d646ab" and "b2a72c2f6e0050a478c7ac84abdd751a3f5d2d42" have entirely different histories.
cd0ae19d03
...
b2a72c2f6e
|
|
@ -68,10 +68,6 @@ func New(
|
|||
config: cfg,
|
||||
}
|
||||
|
||||
mongoLogger.Info("FCM_SERVICE_ACCOUNT_KEY value at startup",
|
||||
zap.String("fcm_service_account_key", cfg.FCMServiceAccountKey),
|
||||
)
|
||||
|
||||
// Initialize FCM client if service account key is provided
|
||||
if cfg.FCMServiceAccountKey != "" {
|
||||
if err := svc.initFCMClient(); err != nil {
|
||||
|
|
|
|||
|
|
@ -727,9 +727,6 @@ 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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user