fix(contribution): remove redundant snapshotDate from GetBatchRatiosRequest query DTO

The date is already read from URL path param @Param('date'), not query string.
Having it as required in the query DTO caused 400 Bad Request on ratios endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-03 09:06:53 -08:00
parent fb4e52c0de
commit 551723fe82
1 changed files with 0 additions and 4 deletions

View File

@ -15,10 +15,6 @@ export class GetSnapshotRequest {
}
export class GetBatchRatiosRequest {
@ApiProperty({ description: '快照日期 (YYYY-MM-DD)' })
@IsDateString()
snapshotDate: string;
@ApiPropertyOptional({ description: '页码', default: 1 })
@IsOptional()
@Type(() => Number)