aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorSebastianKrupinski <krupinskis05@gmail.com>2024-12-12 23:06:01 -0500
committerSebastianKrupinski <krupinskis05@gmail.com>2024-12-13 11:47:18 -0500
commit0628eb62f3724bf84f5506f1df5e1a32f76754a4 (patch)
tree130bdd17661f45ba185ac89a997bcaa54dde4391 /apps/dav/lib
parent10852d38e345eab68035a2442f3a76b5c5e7bf1a (diff)
downloadnextcloud-server-0628eb62f3724bf84f5506f1df5e1a32f76754a4.tar.gz
nextcloud-server-0628eb62f3724bf84f5506f1df5e1a32f76754a4.zip
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/CardDAV/ImageExportPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/ImageExportPlugin.php b/apps/dav/lib/CardDAV/ImageExportPlugin.php
index e9d390d0849..8a950202c08 100644
--- a/apps/dav/lib/CardDAV/ImageExportPlugin.php
+++ b/apps/dav/lib/CardDAV/ImageExportPlugin.php
@@ -90,7 +90,7 @@ class ImageExportPlugin extends ServerPlugin {
$response->setBody($file->getContent());
} catch (NotFoundException $e) {
- $response->setStatus(404);
+ $response->setStatus(\OCP\AppFramework\Http::STATUS_NO_CONTENT);
}
return false;