Skip to content

Commit aa28430

Browse files
committed
Fix for targetFeeds in reactions()->addChild
1 parent b1f01dc commit aa28430

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
Change history
33
================
44

5+
4.0.1
6+
=====
7+
:release-date: 2019-11-25
8+
:by: Peter van Kampen
9+
10+
* PHP 7.4
11+
* Fix for targetFeeds in reactions()->addChild
12+
13+
4.0.0
14+
=====
15+
:release-date: 2019-11-25
16+
:by: Tommaso Barbugli
17+
18+
* Upgrade dependencies, drop php5.x support, update tests
19+
520
3.0.2
621
=====
722
:release-date: 2019-11-12

lib/GetStream/Stream/Reactions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function addChild($kind, $parentId, $userId, array $data=null, array $tar
112112
$payload['data'] = $data;
113113
}
114114
if( $targetFeeds !== null ){
115-
$payload['target_feeds'] = join(',', $targetFeeds);
115+
$payload['target_feeds'] = $targetFeeds;
116116
}
117117
$response = $this->doRequest('POST', 'reaction/', $payload);
118118
$body = $response->getBody()->getContents();

0 commit comments

Comments
 (0)