fix wings project request header
This commit is contained in:
parent
153080012a
commit
b2f4279387
|
@ -6,7 +6,7 @@ import query from "./query";
|
|||
got.post(process.env.WINGS_ENDPOINT || 'https://api.wings.dev', {
|
||||
headers: {
|
||||
"Authorization": "Bearer " + process.env.WINGS_APP_KEY,
|
||||
"X-Wings-Project": process.env.WINGS_PROJECT
|
||||
"x-wings-app-domain": process.env.WINGS_PROJECT
|
||||
},
|
||||
json: {query}
|
||||
}).json().then((data) => {
|
||||
|
|
Loading…
Reference in New Issue