mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-17 20:49:09 +00:00
FIX: Create VPN using multipart form data to fetch file
This commit is contained in:
@@ -81,9 +81,18 @@ export class CreateNetworkConfigReq extends PickType(NetworkConfigDto, [
|
||||
'description',
|
||||
'type',
|
||||
'network_type_id',
|
||||
'plugin',
|
||||
]) {
|
||||
@ApiProperty()
|
||||
properties: NetworkConfigOpenVpnProperties;
|
||||
@ApiProperty({
|
||||
type: 'file',
|
||||
properties: {
|
||||
file: {
|
||||
type: 'string',
|
||||
format: 'binary',
|
||||
},
|
||||
},
|
||||
})
|
||||
OVPN_FILE: any;
|
||||
}
|
||||
export class CreateNetworkConfigRes {
|
||||
@ApiProperty()
|
||||
|
||||
Reference in New Issue
Block a user