Fix serverless save when name empty (#6720)

- fix serverless function error on save when name empty
- remove useless unique constraint on serverless function names
This commit is contained in:
martmull
2024-08-23 17:34:31 +02:00
committed by GitHub
parent 5d8162dc09
commit 873a4c1bd1
8 changed files with 38 additions and 24 deletions

View File

@ -23,7 +23,6 @@ export class UpdateServerlessFunctionInput {
description?: string;
@IsString()
@IsNotEmpty()
@Field()
code: string;
}