mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Update logic that handles creation of folders for a server
This commit is contained in:
@@ -39,7 +39,7 @@ class AuthenticateServerAccess
|
||||
$server = $request->route()->parameter('server');
|
||||
|
||||
if (! $server instanceof Server) {
|
||||
throw new NotFoundHttpException;
|
||||
throw new NotFoundHttpException(trans('exceptions.api.resource_not_found'));
|
||||
}
|
||||
|
||||
if ($server->suspended) {
|
||||
|
||||
Reference in New Issue
Block a user