Skip to content

Commit

Permalink
태그 미지정시 오류 수정.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkame committed Jun 30, 2023
1 parent eb7cf87 commit 20901d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/Discord/UpdateThreadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private function updateActiveThread(Client $client): void
'thread_started_at' => $thread->thread_metadata->create_timestamp,
]);

$discordThread->tags()->sync($thread->applied_tags);
$discordThread->tags()->sync($thread?->applied_tags ?? []);
}
}

Expand Down

0 comments on commit 20901d3

Please sign in to comment.