summaryrefslogtreecommitdiffstats
path: root/application/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/api')
-rw-r--r--application/controllers/api/v1/file.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/controllers/api/v1/file.php b/application/controllers/api/v1/file.php
index 4ffc8ed48..dae053db2 100644
--- a/application/controllers/api/v1/file.php
+++ b/application/controllers/api/v1/file.php
@@ -59,6 +59,9 @@ class file extends \controllers\api\api_controller {
{
$this->muser->require_access("apikey");
$history = \service\files::history($this->muser->get_userid());
+ foreach ($history['items'] as $key => $item) {
+ unset($history['items'][$key]['thumbnail']);
+ }
return $history;
}