update: fix ticket message length support utf8mb4

This commit is contained in:
tokumeikoi
2021-08-18 21:23:45 +09:00
parent c9cd307cc4
commit c957a4ca83
3 changed files with 9 additions and 3 deletions

View File

@ -12,6 +12,7 @@ use Illuminate\Support\Facades\DB;
class TicketService {
public function replyByAdmin($ticketId, $message, $userId):void
{
if ($message)
$ticket = Ticket::where('id', $ticketId)
->first();
if (!$ticket) {