Skip to content

Commit 10b9990

Browse files
committed
use request headers when actually firing the request
1 parent 5de6966 commit 10b9990

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/components/molecules/flow/graph/compute/requestnode.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ class requestNode extends Node {
9797
}
9898
}
9999

100+
if (this.nodeData.headers && this.nodeData.headers.length > 0) {
101+
this.nodeData.headers.map((pair, index) => {
102+
headers[pair.name] = pair.value;
103+
});
104+
}
105+
100106
const options = {
101107
method: restMethod,
102108
url: finalUrl,

0 commit comments

Comments
 (0)