Skip to content

Commit

Permalink
Fixed dot variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Mar 21, 2024
1 parent 891804c commit cb22584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Jobs/TelegramMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public function __construct(public Collection $message)
{
$this->text = $this->message->only(['text', 'caption'])->first();
$this->messageId = $this->message->get('message_id');
$this->chatId = $this->message->get('chat.id');
$this->from = $this->message->get('from.id');
$this->chatId = $this->message->dot()->get('chat.id');
$this->from = $this->message->dot()->get('from.id');
}

/**
Expand Down

0 comments on commit cb22584

Please sign in to comment.