1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

feat: use general server errors in shared API controller

This commit is contained in:
Christy Jacob 2022-02-07 01:01:23 +04:00
parent 6d343abcb1
commit f197bbf564

View file

@ -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;
}