From 54d4fa50f312b675239b071d2729ca01c9d128eb Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Mon, 7 Apr 2025 13:14:14 +0100 Subject: [PATCH] Checking API calls --- backend/src/album/dto/update-album.dto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/album/dto/update-album.dto.ts b/backend/src/album/dto/update-album.dto.ts index e9ba2ef..66de78c 100644 --- a/backend/src/album/dto/update-album.dto.ts +++ b/backend/src/album/dto/update-album.dto.ts @@ -1,7 +1,6 @@ -import { IsNotEmpty, IsNumber, IsString } from 'class-validator'; +import { IsNotEmpty, IsString } from 'class-validator'; export class UpdateAlbumDto { - @IsNumber() id: number; @IsString() @@ -14,6 +13,7 @@ export class UpdateAlbumDto { @IsString() @IsNotEmpty() + @IsString() @IsNotEmpty() genre: string;