Skip to content

Commit

Permalink
fix: delete variables, optimize memory
Browse files Browse the repository at this point in the history
  • Loading branch information
tongthanhphu committed May 22, 2024
1 parent 33dd32d commit bca6010
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/views/events/github/pull_request/labeled.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Illuminate\Support\Str;
$pull_request = $payload->pull_request;
$description = Str::limit($payload->label->description);
?>

‍👷‍♂️🛠️ {!! __('tg-notifier::events/github/pull_request.labeled.title', [
Expand All @@ -15,4 +14,4 @@
) !!}

🔖 {!! __('tg-notifier::events/github/pull_request.labeled.name') !!}: <code>{{ $payload->label->name }}</code>
📑 {!! __('tg-notifier::events/github/pull_request.labeled.description') !!}: {{ $description }}
📑 {!! __('tg-notifier::events/github/pull_request.labeled.description') !!}: {{ Str::limit($payload->label->description) }}

0 comments on commit bca6010

Please sign in to comment.