Skip to content

Commit

Permalink
Feat!: passed config itself to header intercept function
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Nov 20, 2023
1 parent 84b27c3 commit 748537c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/service-connector/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const serviceConnector = ({ service, headerIntercepts, loggable, logs = true, ..
if (headerIntercepts) {
config.headers = {
...config.headers,
...headerIntercepts(config.headers)
...headerIntercepts(config)
};
}
return config;
Expand Down

0 comments on commit 748537c

Please sign in to comment.