Skip to content

Commit d3c2b0d

Browse files
authored
Merge pull request #151 from rbibby/master
Set author and product from API in RequestClient
2 parents 0ffdc64 + 61bfafb commit d3c2b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PSS/RequestClient.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ public function getFeedback($id)
151151
protected function serializeRequest($item)
152152
{
153153
$request = new Entities\Request($this->apiToFriendly($item, $this->requestMap));
154-
$request->author = new Entities\Author($item);
155-
$request->product = new Entities\Product($item);
154+
$request->author = new Entities\Author($item->author);
155+
$request->product = new Entities\Product($item->product);
156156

157157
return $request;
158158
}

0 commit comments

Comments
 (0)