We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 408f9e8 + 42d745e commit 048037bCopy full SHA for 048037b
apps/cloud_federation_api/lib/Controller/OCMRequestController.php
@@ -15,7 +15,6 @@
15
use OCP\AppFramework\Http\Attribute\BruteForceProtection;
16
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
17
use OCP\AppFramework\Http\Attribute\PublicPage;
18
-use OCP\AppFramework\Http\DataResponse;
19
use OCP\AppFramework\Http\JSONResponse;
20
use OCP\AppFramework\Http\Response;
21
use OCP\EventDispatcher\IEventDispatcher;
@@ -83,6 +82,6 @@ public function manageOCMRequests(string $ocmPath): Response {
83
82
);
84
$this->eventDispatcher->dispatchTyped($event);
85
86
- return $event->getResponse() ?? new DataResponse('', Http::STATUS_NOT_FOUND);
+ return $event->getResponse() ?? new Response(Http::STATUS_NOT_FOUND);
87
}
88
0 commit comments