Skip to content

Commit

Permalink
fix the message issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Oct 18, 2023
1 parent 6a78ad2 commit 6ccc03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Jobs/MessageCreatedJob.php
Expand Up @@ -32,7 +32,7 @@ public function handle(): void
try {
logger('Sending llm request');
MessageStatusEvent::dispatch($this->message);
/** @var Message $message */
/** @var ?Message $message */
$message = MessageRepository::handle($this->message);

if ($message === null) {
Expand Down

0 comments on commit 6ccc03c

Please sign in to comment.