diff --git a/lib/public/EventDispatcher/JsonSerializer.php b/lib/public/EventDispatcher/JsonSerializer.php index d05367b746d20..c0eae70274ee7 100644 --- a/lib/public/EventDispatcher/JsonSerializer.php +++ b/lib/public/EventDispatcher/JsonSerializer.php @@ -34,6 +34,10 @@ public static function serializeFileInfo(FileInfo $node): array { return [ 'id' => $node->getId(), 'path' => $node->getPath(), + 'type' => $node->getType(), + 'mimetype' => $node->getMimetype(), + 'size' => $node->getSize(), + 'mtime' => $node->getMtime(), ]; } }