Skip to content

Commit

Permalink
feat(dev-graph): populate X-Nf-Graph-Token header (#4493)
Browse files Browse the repository at this point in the history
* feat(dev-graph): populate X-Nf-Graph-Token header

* chore: update contributors field

* chore: update contributors field

Co-authored-by: token-generator-app[bot] <token-generator-app[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 29, 2022
1 parent 1693824 commit 24b2533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/functions/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const createHandler = function (options) {
const jwt = generateNetlifyGraphJWT(config.netlifyGraphConfig)
event.authlifyToken = jwt
event.netlifyGraphToken = jwt
event.headers['X-Nf-Graph-Token'] = jwt
}

const clientContext = buildClientContext(request.headers) || {}
Expand Down

1 comment on commit 24b2533

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 380 MB

Please sign in to comment.