Skip to content

Commit

Permalink
fix: Avoid pushing empty messages
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Mar 10, 2025
1 parent 7d9b968 commit 25b4c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/ApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private function addToPushQueue(Document $document, array $steps): void {
'message' => 'text_steps',
'body' => [
'documentId' => $document->getId(),
'steps' => $steps,
'steps' => array_values(array_filter($steps)),
],
]);
}
Expand Down

0 comments on commit 25b4c55

Please sign in to comment.