mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-15 10:49:08 +00:00
Removed type and plugin from CreateNetworkConfigReq
This commit is contained in:
@@ -94,10 +94,9 @@ export class NetworkConfigService {
|
||||
{ customer_name, customer_id, user_id },
|
||||
): Promise<CreateNetworkConfigRes> {
|
||||
const { description, name, network_type_id, network_type_name } = body;
|
||||
let { type, plugin } = body;
|
||||
|
||||
type = type || 'vpn';
|
||||
plugin = plugin || 'openvpn';
|
||||
const type = 'vpn';
|
||||
const plugin = 'openvpn';
|
||||
|
||||
const OVPN_FILE_STRING = Buffer.from(file.buffer).toString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user