feat: use general server errors in shared API controller
This commit is contained in:
parent
6d343abcb1
commit
f197bbf564
|
@ -179,7 +179,7 @@ App::init(function ($utopia, $request, $project) {
|
|||
break;
|
||||
|
||||
default:
|
||||
throw new Exception('Unsupported authentication route', Exception::USER_AUTH_METHOD_UNSUPPORTED);
|
||||
throw new Exception('Unsupported authentication route', 501, Exception::USER_AUTH_METHOD_UNSUPPORTED);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue