fix: add knowledgeBaseId to ReadingEventUploadItemDto + increase Max delta
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 47s
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 47s
iOS sends knowledgeBaseId in batch upload but DTO didn't have it, causing forbidNonWhitelisted to reject with 400. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
43293a48e6
commit
fb7ee358ce
@ -22,7 +22,7 @@ export class ReadingEventUploadItemDto {
|
||||
|
||||
@IsInt()
|
||||
@Min(0)
|
||||
@Max(300)
|
||||
@Max(3600)
|
||||
activeSecondsDelta!: number;
|
||||
|
||||
@IsInt()
|
||||
@ -41,6 +41,10 @@ export class ReadingEventUploadItemDto {
|
||||
@IsOptional()
|
||||
@IsInt()
|
||||
clientTimezoneOffsetMinutes?: number;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
knowledgeBaseId?: string;
|
||||
}
|
||||
|
||||
export class BatchUploadReadingEventsDto {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user