mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-13 11:53:45 +02:00
Remove from end user
Removed max connections from the end user view.
This commit is contained in:
@@ -6,7 +6,6 @@ export interface ServerDatabase {
|
||||
username: string;
|
||||
connectionString: string;
|
||||
allowConnectionsFrom: string;
|
||||
maxConnections: string;
|
||||
password?: string;
|
||||
}
|
||||
|
||||
@@ -16,7 +15,6 @@ export const rawDataToServerDatabase = (data: any): ServerDatabase => ({
|
||||
username: data.username,
|
||||
connectionString: `${data.host.address}:${data.host.port}`,
|
||||
allowConnectionsFrom: data.connections_from,
|
||||
maxConnections: data.max_connections,
|
||||
password: data.relationships && data.relationships.password ? data.relationships.password.attributes.password : undefined,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user