@wireapp/api-client 27.12.1 → 27.12.2

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.
@@ -312,7 +312,7 @@ class ConversationAPI {
312
312
  data: conversationData,
313
313
  method: 'post',
314
314
  url: this.backendFeatures.version >= apiBreakpoint.version7
315
- ? `${ConversationAPI.URL.ONE_2_ONE}-${ConversationAPI.URL.CONVERSATIONS}`
315
+ ? `/${ConversationAPI.URL.ONE_2_ONE}-${ConversationAPI.URL.CONVERSATIONS}`
316
316
  : `/${ConversationAPI.URL.CONVERSATIONS}/${ConversationAPI.URL.ONE_2_ONE}`,
317
317
  };
318
318
  await this.client.sendJSON(config);
@@ -325,7 +325,7 @@ class ConversationAPI {
325
325
  const config = {
326
326
  method: 'get',
327
327
  url: this.backendFeatures.version >= apiBreakpoint.version7
328
- ? `${ConversationAPI.URL.ONE_2_ONE}-${ConversationAPI.URL.CONVERSATIONS}/${domain}/${id}`
328
+ ? `/${ConversationAPI.URL.ONE_2_ONE}-${ConversationAPI.URL.CONVERSATIONS}/${domain}/${id}`
329
329
  : `/${ConversationAPI.URL.CONVERSATIONS}/${ConversationAPI.URL.ONE_2_ONE}/${domain}/${id}`,
330
330
  };
331
331
  const response = await this.client.sendJSON(config);
package/package.json CHANGED
@@ -66,6 +66,6 @@
66
66
  "watch": "webpack serve --config webpack.browser.js",
67
67
  "prepare": "yarn dist"
68
68
  },
69
- "version": "27.12.1",
70
- "gitHead": "80f7e3f3405a1489ffa348f1e1111c36a0158017"
69
+ "version": "27.12.2",
70
+ "gitHead": "c8358a1cf2add2e81460edc57b3cc930be8589a0"
71
71
  }