Skip to content

Commit

Permalink
Enforce URL title limit
Browse files Browse the repository at this point in the history
  • Loading branch information
MGatner committed Mar 11, 2021
1 parent a629ab9 commit a2bc2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Actions/PushAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function execute(Submission $submission, array $params = []): Message
'message' => $submission->excerpt,
'html' => 0,
'url' => $submission->url,
'url_title' => $submission->title,
'url_title' => substr($submission->title, 0, 99), // Pushover's limit
];
$data = array_merge($data, $params['data'] ?? []);

Expand Down

0 comments on commit a2bc2fa

Please sign in to comment.