Skip to content

Commit 0fdb558

Browse files
committed
Dav/FacePhoto: Fix metadata
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent e1fb5a5 commit 0fdb558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Dav/Faces/FacePhoto.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function getLastModified() {
146146
public function getMetadata(): string {
147147
$file = $this->getFile();
148148
$sizeMetadata = $this->metadataManager->fetchMetadataFor('size', [$file->getId()])[$file->getId()];
149-
return $sizeMetadata->getValue();
149+
return json_encode($sizeMetadata->getDecodedValue());
150150
}
151151

152152
public function hasPreview(): bool {

0 commit comments

Comments
 (0)