diff --git a/package.json b/package.json index 6d9dc3d..b0e046e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "valory-adaptor-alb", - "version": "2.0.0-beta.4", + "version": "2.0.0-beta.5", "main": "dist/albAdaptor.js", "typings": "dist/albAdaptor.d.ts", "license": "MIT", @@ -14,7 +14,7 @@ "semantic-release": "^16.0.4", "tslint": "^6.1.0", "typescript": "^3.8.3", - "valory-runtime": "^4.0.0-v4.16" + "valory-runtime": "^4.0.0-v4.18" }, "peerDependencies": { "valory-runtime": "^4.0.0-v4.5" diff --git a/src/albAdaptor.ts b/src/albAdaptor.ts index 00dd2dd..b1a069c 100644 --- a/src/albAdaptor.ts +++ b/src/albAdaptor.ts @@ -34,7 +34,8 @@ export class ALBAdaptor implements ApiAdaptor { pathParams: params, rawBody: content, method, - url: `${request.url}?${qs.stringify(request.queryStringParameters, null, null, {encodeURIComponent: noop})}` + path, + query: qs.stringify(request.queryStringParameters, null, null, {encodeURIComponent: noop}) }); tranRequest.attachments.putAttachment(ALBAdaptor.LambdaContextKey, request.context); await handler(tranRequest); diff --git a/yarn.lock b/yarn.lock index 2d7217a..ed2df96 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5673,10 +5673,10 @@ validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0: dependencies: builtins "^1.0.3" -valory-runtime@^4.0.0-v4.16: - version "4.0.0-v4.16" - resolved "https://registry.yarnpkg.com/valory-runtime/-/valory-runtime-4.0.0-v4.16.tgz#32f725895d752e6806ff6c217619309db65f27db" - integrity sha512-rqFyX6kgfakCHKLNOryxLJs/nkqafKggXIS3hy+l5GUysNAHI9mLnMScFtupBbMFJ73tPFIEaR8INLhevglf8w== +valory-runtime@^4.0.0-v4.18: + version "4.0.0-v4.18" + resolved "https://registry.yarnpkg.com/valory-runtime/-/valory-runtime-4.0.0-v4.18.tgz#c455774920c5603b124d4bdc6937796a2da91857" + integrity sha512-gD2e7Y3/dt0PaaIocQkRY4GQAgx4iS3/4kGBEpz+OG5csNY2DzNcD2Qy3KoCdfCRwcWHLDZzZNNvIgtWV4tYQg== dependencies: "@types/pino" "^6.0.0" openapi-types "^1.3.5"