Remove suspended & installing fields, replace with single status field
This commit is contained in:
parent
4c29be2e54
commit
a75a347d65
24 changed files with 115 additions and 59 deletions
|
@ -64,7 +64,7 @@ class AuthenticateServerAccess
|
|||
}
|
||||
}
|
||||
|
||||
if ($server->suspended && ! $request->routeIs('api:client:server.resources')) {
|
||||
if ($server->isSuspended() && ! $request->routeIs('api:client:server.resources')) {
|
||||
throw new BadRequestHttpException(
|
||||
'This server is currently suspended and the functionality requested is unavailable.'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue