wingbot 3.36.1 → 3.36.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.36.1",
3
+ "version": "3.36.2",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -117,7 +117,7 @@ class BotAppSender extends ReturnSender {
117
117
 
118
118
  headers.set('Authorization', token);
119
119
 
120
- const response = await this._fetch(this._apiUrl, {
120
+ const response = await this._fetch(`${this._apiUrl}/${this._pageId}`, {
121
121
  headers, body: formData, agent, method: 'POST'
122
122
  })
123
123
  .then((r) => r.json());