Skip to content

Commit 45cbee1

Browse files
Update PushoverMessage.php
1 parent 68697f8 commit 45cbee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PushoverMessage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ public function toArray(): array
363363
'image' => $this->image,
364364
'retry' => $this->retry,
365365
'expire' => $this->expire,
366-
'html' => $this->format === static::FORMAT_HTML,
367-
'monospace' => $this->format === static::FORMAT_MONOSPACE,
366+
'html' => $this->format === static::FORMAT_HTML ? 1 : 0,
367+
'monospace' => $this->format === static::FORMAT_MONOSPACE ? 1 : 0,
368368
'callback' => $this->callback,
369369
];
370370
}

0 commit comments

Comments
 (0)