workign comments strucuture
This commit is contained in:
@@ -54,10 +54,10 @@ final class TicketCommentStoreController extends Controller
|
||||
->where('is_active', true)
|
||||
->findOrFail((int) $validated['canned_response_id']);
|
||||
|
||||
$body = trim($renderer->render($response->body, $ticket, $user));
|
||||
$body = trim($response->body);
|
||||
}
|
||||
|
||||
$body = $this->normaliseHtmlBody($body);
|
||||
$body = $this->normaliseHtmlBody($renderer->render($body, $ticket, $user));
|
||||
|
||||
validator(['commentBody' => $body], [
|
||||
'commentBody' => ['required', 'string', 'min:2'],
|
||||
|
||||
Reference in New Issue
Block a user