summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework/http/ocsresponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/appframework/http/ocsresponse.php')
-rw-r--r--lib/public/appframework/http/ocsresponse.php2
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());
}