diff --git a/apps/api/src/app/endpoints/watchlist/create-watchlist-item.dto.ts b/apps/api/src/app/endpoints/watchlist/create-watchlist-item.dto.ts index ee2286727..663965ef1 100644 --- a/apps/api/src/app/endpoints/watchlist/create-watchlist-item.dto.ts +++ b/apps/api/src/app/endpoints/watchlist/create-watchlist-item.dto.ts @@ -2,7 +2,7 @@ import { DataSource } from '@prisma/client'; import { IsEnum, IsString } from 'class-validator'; export class CreateWatchlistItemDto { - @IsEnum(DataSource, { each: true }) + @IsEnum(DataSource) dataSource: DataSource; @IsString()