chore: oops one

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2025-11-03 13:06:08 -05:00 committed by Ferdinand Thiessen
parent 599ba3d3b9
commit ffd6b466fe

View file

@ -89,7 +89,7 @@ try {
$baseuri = OC::$WEBROOT . '/public.php/' . $service . '/';
require_once $file;
} catch (Exception $ex) {
if ($ex instanceof ServiceUnavailableException && $ex->getCode === 0) {
if ($ex instanceof ServiceUnavailableException && $ex->getCode() === 0) {
$status = 503;
}
if ($ex->getCode() > 0) {