mirror of https://github.com/nextcloud/bookmarks
Fix streamFor after Guzzle update
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
1c381c7529
commit
18722b5b87
|
@ -56,7 +56,7 @@ class Client implements ClientInterface {
|
|||
|
||||
return $res
|
||||
->withStatus($ncRes->getStatusCode())
|
||||
->withBody(Psr7\stream_for($ncRes->getBody()));
|
||||
->withBody(Psr7\Utils::streamFor($ncRes->getBody()));
|
||||
}
|
||||
|
||||
throw new Exception('Can only send GET or OPTIONS requests'); // XXX: How should Streams be sent using nextcloud?
|
||||
|
|
Loading…
Reference in New Issue