diff --git a/src/Services/NotificationService.php b/src/Services/NotificationService.php index bfcf429..52f0339 100644 --- a/src/Services/NotificationService.php +++ b/src/Services/NotificationService.php @@ -54,9 +54,9 @@ public function setPayload(Request $request): void public function setMessage(string $typeEvent): void { if (isset($this->payload->action)) { - $this->message = get_event_template($typeEvent . '/' . $this->payload->action, ['payload' => $this->payload]); + $this->message = get_event_template($typeEvent . '.' . $this->payload->action, ['payload' => $this->payload]); } else { - $this->message = get_event_template($typeEvent . '/default', ['payload' => $this->payload]); + $this->message = get_event_template($typeEvent . '.default', ['payload' => $this->payload]); } }