diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-06 00:01:56 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-13 10:45:25 +0200 |
commit | 1d219cf799b82babd0d31825e8d6fa03a20bf581 (patch) | |
tree | b4f184f0156f34e481e065ee947f4643ad941067 /lib/public/appframework | |
parent | 55dc74bba48704cc2478530300aece9396b7b191 (diff) | |
download | nextcloud-server-1d219cf799b82babd0d31825e8d6fa03a20bf581.tar.gz nextcloud-server-1d219cf799b82babd0d31825e8d6fa03a20bf581.zip |
With V2 we should ensure that the status codes are kept in sync
Diffstat (limited to 'lib/public/appframework')
-rw-r--r-- | lib/public/appframework/http/ocsresponse.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/appframework/http/ocsresponse.php b/lib/public/appframework/http/ocsresponse.php index 2e788a52bb9..adbe33d7c3c 100644 --- a/lib/public/appframework/http/ocsresponse.php +++ b/lib/public/appframework/http/ocsresponse.php @@ -85,7 +85,7 @@ class OCSResponse extends Response { $r->setTotalItems($this->itemscount); $r->setItemsPerPage($this->itemsperpage); - return \OC_API::renderResult($r, $this->format); + return \OC_API::renderResult($this->format, $r->getMeta(), $r->getData()); } |