summaryrefslogtreecommitdiffstats
path: root/lib/private/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/api.php')
-rw-r--r--lib/private/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/api.php b/lib/private/api.php
index 45e7f18bd4e..913b3ff0a18 100644
--- a/lib/private/api.php
+++ b/lib/private/api.php
@@ -185,7 +185,7 @@ class OC_API {
} else {
$data = array_merge_recursive($data, $response['response']->getData());
}
- $codes[] = $response->getStatusCode();
+ $codes[] = $response['response']->getStatusCode();
}
// Use any non 100 status codes