Skip to content

Commit

Permalink
fix(delivery-test): Fixed gateway usage with delivery tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Nov 28, 2024
1 parent cbb6d57 commit ec94223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -7790,7 +7790,7 @@ const init = async () => {

if (request.payload.gateway) {
// try to load the gateway, throws if not set
let gatewayObject = new Gateway({ redis, gateway: request.params.gateway, call, secret: await getSecret() });
let gatewayObject = new Gateway({ redis, gateway: request.payload.gateway, call, secret: await getSecret() });
await gatewayObject.loadGatewayData();
}

Expand Down

0 comments on commit ec94223

Please sign in to comment.