Skip to content

Commit 24b2533

Browse files
dwwoelfeltoken-generator-app[bot]kodiakhq[bot]
authoredMar 29, 2022
feat(dev-graph): populate X-Nf-Graph-Token header (#4493)
* 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>
1 parent 1693824 commit 24b2533

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/lib/functions/server.js

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ const createHandler = function (options) {
113113
const jwt = generateNetlifyGraphJWT(config.netlifyGraphConfig)
114114
event.authlifyToken = jwt
115115
event.netlifyGraphToken = jwt
116+
event.headers['X-Nf-Graph-Token'] = jwt
116117
}
117118

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

1 commit comments

Comments
 (1)

github-actions[bot] commented on Mar 29, 2022

@github-actions[bot]

📊 Benchmark results

Package size: 380 MB

Please sign in to comment.