Add variable to API endpoint

Allow API to retrun max_connections for frontend database page
This commit is contained in:
AreYouScared 2020-04-22 06:17:26 -04:00
parent f0e4764a11
commit 0ecfb40f5e
3 changed files with 4 additions and 1 deletions

View file

@ -58,6 +58,7 @@ class DatabaseTransformer extends BaseClientTransformer
'name' => $model->database,
'username' => $model->username,
'connections_from' => $model->remote,
'max_connections' => $model->max_connections,
];
}