Skip to content

Commit eb575b0

Browse files
Merge pull request #118 from freshworks/FC-131593
FC-131593 : Added url params in request proxy methods
2 parents 66e805c + 4b18468 commit eb575b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/marketplace-models/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@freshworks-jaya/marketplace-models",
3-
"version": "0.1.36",
3+
"version": "0.1.38",
44
"description": "Provides type definitions for models in marketplace product events",
55
"repository": "[email protected]:freshdesk/jaya-lib.git",
66
"main": "lib/index.js",

packages/marketplace-models/src/services/request/RequestAxiosify.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const requestProxyFunc = async <T = unknown>(
4343
const data = await requestProxy.invokeTemplate(`${method.toLowerCase()}BaseTemplate`, {
4444
context: {
4545
host: urlObj.hostname,
46-
path: urlObj.pathname,
46+
path: urlObj.pathname + urlObj.search,
4747
auth: options.headers?.Authorization,
4848
},
4949
...options,

packages/rule-engine/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@freshworks-jaya/rule-engine",
3-
"version": "0.18.6-beta-24",
3+
"version": "0.18.6-beta-31",
44
"description": "Provides methods to process rules in product events in marketplace app",
55
"repository": "[email protected]:freshdesk/jaya-lib.git",
66
"main": "lib/index.js",
@@ -46,7 +46,7 @@
4646
"dependencies": {
4747
"@freshworks-jaya/freshchat-api": "0.7.36-beta-2",
4848
"@freshworks-jaya/kairos-api": "^0.1.5",
49-
"@freshworks-jaya/marketplace-models": "0.1.36",
49+
"@freshworks-jaya/marketplace-models": "0.1.38",
5050
"@freshworks-jaya/utilities": "^1.0.0",
5151
"@google-cloud/logging": "^9.3.1",
5252
"axios": "^0.21.4",

0 commit comments

Comments
 (0)