Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit d3ca8a7

Browse files
author
Chris Wiechmann
committed
Need to send the CSRF-Token to get the topology
1 parent 27db9b9 commit d3ca8a7

File tree

1 file changed

+1
-1
lines changed
  • apibuilder4elastic/custom_flow_nodes/api-builder-plugin-axway-api-management/src

1 file changed

+1
-1
lines changed

apibuilder4elastic/custom_flow_nodes/api-builder-plugin-axway-api-management/src/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async function lookupTopology(params, options) {
132132
topology = await _getTopology(headers = {'Authorization': `${requestHeaders.authorization}`});
133133
} else {
134134
logger.trace(`Trying to get API-Gateway topology based on VIDUSR cookie.`);
135-
topology = await _getTopology(headers = {'Cookie': requestHeaders.cookie});
135+
topology = await _getTopology(headers = {'Cookie': requestHeaders.cookie, 'csrf-token': requestHeaders['csrf-token']});
136136
}
137137
if(topology.services) {
138138
topology.services = topology.services.filter(function(service) {

0 commit comments

Comments
 (0)