mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-28 08:30:05 +00:00
Save Connection Changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
||||
import { IsString, IsObject } from 'class-validator';
|
||||
import { IsString, IsObject, IsOptional } from 'class-validator';
|
||||
|
||||
export class CreateConnectionDto {
|
||||
@ApiProperty()
|
||||
@@ -16,7 +16,8 @@ export class CreateConnectionDto {
|
||||
|
||||
@ApiPropertyOptional()
|
||||
@IsString()
|
||||
network_config_id?: string;
|
||||
@IsOptional()
|
||||
network_config_id?: string | null;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user