fix wings project request header

This commit is contained in:
Kiara Grouwstra 2022-01-03 13:09:16 +01:00
parent 153080012a
commit b2f4279387
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {