Fix error handling in serverless service (#6442)

- narrowing error handling in aws sdk usage
- updating dto to authorize null descriptions
This commit is contained in:
martmull
2024-07-29 18:51:57 +02:00
committed by GitHub
parent 0a21a16eb0
commit fb0fd99a38
2 changed files with 30 additions and 16 deletions

View File

@ -48,7 +48,7 @@ export class ServerlessFunctionDto {
name: string;
@IsString()
@Field()
@Field({ nullable: true })
description: string;
@IsString()