curtain-web-api 1.0.33 → 1.0.34

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.
@@ -261,7 +261,7 @@ class CurtainWebAPI {
261
261
  let headers = new axios_1.AxiosHeaders();
262
262
  headers["Accept"] = "application/json";
263
263
  headers["Content-Type"] = "application/json";
264
- return this.axiosInstance.post(this.baseURL + "curtain/" + linkId + "/generate_token", { lifetime: lifetime }, { headers: headers, responseType: "json" }).then((response) => {
264
+ return this.axiosInstance.post(this.baseURL + "curtain/" + linkId + "/generate_token/", { lifetime: lifetime }, { headers: headers, responseType: "json" }).then((response) => {
265
265
  return response;
266
266
  });
267
267
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -253,7 +253,7 @@ export class CurtainWebAPI {
253
253
  let headers = new AxiosHeaders();
254
254
  headers["Accept"] = "application/json";
255
255
  headers["Content-Type"] = "application/json";
256
- return this.axiosInstance.post(this.baseURL + "curtain/" + linkId + "/generate_token", {lifetime: lifetime}, {headers: headers, responseType:"json"}).then((response) => {
256
+ return this.axiosInstance.post(this.baseURL + "curtain/" + linkId + "/generate_token/", {lifetime: lifetime}, {headers: headers, responseType:"json"}).then((response) => {
257
257
  return response;
258
258
  });
259
259
  }