next-tinacms-github
Advanced tools
Comparing version 0.0.2-a to 0.0.2-canary1
{ | ||
"name": "next-tinacms-github", | ||
"version": "0.0.2-a", | ||
"version": "0.0.2-canary1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -21,3 +21,3 @@ /** | ||
export const proxy = (req: any, res: any) => { | ||
export const createProxy = (authTokenKey: string) => (req: any, res: any) => { | ||
const { headers, ...data } = JSON.parse(req.body) | ||
@@ -29,3 +29,3 @@ | ||
...headers, | ||
Authorization: 'token ' + req.cookies['github_access_token'], | ||
Authorization: 'token ' + req.cookies[authTokenKey], | ||
}, | ||
@@ -32,0 +32,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28663