curtain-web-api 1.0.82 → 1.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -807,7 +807,7 @@ export class CurtainWebAPI {
|
|
|
807
807
|
}
|
|
808
808
|
let headers = new AxiosHeaders();
|
|
809
809
|
headers["Accept"] = "application/json";
|
|
810
|
-
return this.axiosInstance.
|
|
810
|
+
return this.axiosInstance.post(`${this.baseURL}curtain-chunked-upload/${uploadId}/`, formData, { headers: headers });
|
|
811
811
|
}
|
|
812
812
|
cancelCurtainUpload(uploadId) {
|
|
813
813
|
let headers = new AxiosHeaders();
|
package/package.json
CHANGED
|
@@ -1074,7 +1074,7 @@ export class CurtainWebAPI {
|
|
|
1074
1074
|
|
|
1075
1075
|
let headers = new AxiosHeaders();
|
|
1076
1076
|
headers["Accept"] = "application/json";
|
|
1077
|
-
return this.axiosInstance.
|
|
1077
|
+
return this.axiosInstance.post<CurtainChunkedUploadCompletionResponse>(`${this.baseURL}curtain-chunked-upload/${uploadId}/`, formData, {headers: headers});
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
1080
|
cancelCurtainUpload(uploadId: string) {
|