upadate getUploadUrls response object
This commit is contained in:
parent
8fb8ee4feb
commit
c528ccf8bc
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue