Skip to content

Commit

Permalink
fix: test ntfy without custom headers (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite authored Jul 15, 2024
1 parent f8ebbcf commit 8fcfc92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions endpoints/notifications/testntfynotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
$host = rtrim($data["host"], '/');
$topic = $data["topic"];
$headers = json_decode($data["headers"], true);
if ($headers === null) {
$headers = [];
}
$customheaders = array_map(function ($key, $value) {
return "$key: $value";
}, array_keys($headers), $headers);
Expand Down
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v2.19.1";
$version = "v2.19.2";
?>

0 comments on commit 8fcfc92

Please sign in to comment.