Skip to content

Commit a1a91ab

Browse files
committed
Fixed #70
1 parent d5bcc59 commit a1a91ab

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release Notes for Webhooks for Craft CMS
22

3+
## Unreleased
4+
5+
### Fixed
6+
- Fixed PHP error. ([#70](https://github.com/craftcms/webhooks/issues/70))
7+
38
## 3.0.0 - 2022-05-03
49

510
### Added

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function request(string $method, string $url, array $headers = null, stri
332332
'requestBody' => $body,
333333
'dateCreated' => Db::prepareDateForDb(new DateTime()),
334334
'uid' => StringHelper::UUID(),
335-
], false);
335+
]);
336336

337337
$this->_pendingJobs[] = new SendRequestJob([
338338
'requestId' => Craft::$app->getDb()->getLastInsertID('{{%webhookrequests}}'),

0 commit comments

Comments
 (0)