curtain-web-api 1.0.53 → 1.0.54

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.
@@ -568,7 +568,7 @@ class CurtainWebAPI {
568
568
  getDataCiteTimeLimitedPermissionToken(suffix) {
569
569
  let headers = new axios_1.AxiosHeaders();
570
570
  headers["Accept"] = "application/json";
571
- return this.axiosInstance.get(this.baseURL + "datacite/get_time_limited_permission_token/?" + suffix, { headers: headers, responseType: "json" });
571
+ return this.axiosInstance.get(this.baseURL + "datacite/get_time_limited_permission_token/?suffix=" + suffix, { headers: headers, responseType: "json" });
572
572
  }
573
573
  }
574
574
  exports.CurtainWebAPI = CurtainWebAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -583,7 +583,7 @@ export class CurtainWebAPI {
583
583
  getDataCiteTimeLimitedPermissionToken(suffix: string) {
584
584
  let headers = new AxiosHeaders()
585
585
  headers["Accept"] = "application/json"
586
- return this.axiosInstance.get(this.baseURL + "datacite/get_time_limited_permission_token/?" + suffix, {headers: headers, responseType: "json"})
586
+ return this.axiosInstance.get(this.baseURL + "datacite/get_time_limited_permission_token/?suffix=" + suffix, {headers: headers, responseType: "json"})
587
587
  }
588
588
  }
589
589