From 95f7469f4daa462fc410f8ebb466e8cc80216783 Mon Sep 17 00:00:00 2001 From: kassem Date: Sun, 1 Sep 2024 14:31:03 +0300 Subject: [PATCH] Fix: DeleteDeployment validation --- packages/grid_client/src/modules/models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grid_client/src/modules/models.ts b/packages/grid_client/src/modules/models.ts index 983aa5b5c8..3453640740 100644 --- a/packages/grid_client/src/modules/models.ts +++ b/packages/grid_client/src/modules/models.ts @@ -159,7 +159,7 @@ class AddMachineModel extends MachineModel { class DeleteMachineModel { @Expose() @IsString() @IsNotEmpty() @IsAlphanumericExpectUnderscore() @MaxLength(NameLength) name: string; - @Expose() @IsString() @IsNotEmpty() @IsAlphanumeric() @MaxLength(NameLength) deployment_name: string; + @Expose() @IsString() @IsNotEmpty() @IsAlphanumericExpectUnderscore() @MaxLength(NameLength) deployment_name: string; } class MachinesGetModel extends BaseGetDeleteModel {}