feat: Update document download logic to use id as a fallback for the S3 key and refine the VerificationDocument interface.

This commit is contained in:
pradeepkumar
2026-01-29 00:02:45 +05:30
parent 334a55f0a0
commit f30769d73a
2 changed files with 10 additions and 2 deletions

View File

@@ -11,7 +11,8 @@ export interface AgentType {
}
export interface VerificationDocument {
key: string;
id?: string; // S3 key is stored in id field from upload service
key?: string; // Alternative S3 key field
name: string;
size: number;
type: string;