upadate getUploadUrls response object

This commit is contained in:
Abhinav-grd 2021-03-14 14:59:38 +05:30
parent 8fb8ee4feb
commit c528ccf8bc

View file

@ -43,7 +43,7 @@ export interface B64EncryptionResult {
} }
interface UploadURL { interface UploadURL {
URL: string; url: string;
objectKey: string; objectKey: string;
} }
@ -650,7 +650,7 @@ class UploadService {
const response = await this.uploadURLFetchInProgress; const response = await this.uploadURLFetchInProgress;
this.uploadURLFetchInProgress = null; this.uploadURLFetchInProgress = null;
this.uploadURLs.push(...response.data['UploadURLs']); this.uploadURLs.push(...response.data['urls']);
} }
return this.uploadURLFetchInProgress; return this.uploadURLFetchInProgress;
} catch (e) { } catch (e) {