Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/federation/lib/Controller/OCSAuthAPIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
'remote server (' . $url . ') presented lower token. We will initiate the exchange of the shared secret.',
['app' => 'federation']
);
throw new OCSForbiddenException();
return new DataResponse();

Check failure on line 157 in apps/federation/lib/Controller/OCSAuthAPIController.php

View workflow job for this annotation

GitHub Actions / static-code-analysis

UndefinedClass

apps/federation/lib/Controller/OCSAuthAPIController.php:157:15: UndefinedClass: Class, interface or enum named OCA\Federation\Controller\DataResponse does not exist (see https://psalm.dev/019)

Check failure

Code scanning / Psalm

UndefinedClass Error

Class, interface or enum named OCA\Federation\Controller\DataResponse does not exist

Check failure on line 157 in apps/federation/lib/Controller/OCSAuthAPIController.php

View workflow job for this annotation

GitHub Actions / Psalm

Class, interface or enum named OCA\Federation\Controller\DataResponse does not exist (see https://psalm.dev/019)
}

$this->jobList->add(
Expand Down
Loading