-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
area:coreIssues related to `core`, which is the package that powers the SDKs at runtimeIssues related to `core`, which is the package that powers the SDKs at runtimebugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
After installing my opneapi definitions:
npx api install @hytopia-api-internal/v1.0#1q9bc1r2lorj18va
# or
npx api@next install @hytopia-api-internal/v1.0#1q9bc1r2lorj18va
My TS definitions seem to be generated just fine, this request looks correct on my TS files:
const response = await api.upsertGameReview(
{
positive: true,
},
{
gameId: "1234-1234-1234-1234",
"X-Review-Provider-Key": "SECRET-KEY",
},
);
However looking at my API server the X-Review-Provider-Key is not being sent at all, also the X-Authorization header gets ignored as well even though the TS definitions allow it. Making the request through our documentation page in readme.io does work fine though.
Am I doing something wrong or is it a bug?
Edit: I get the same issue generating the SDK with the latest v7 beta branch.
licarth
Metadata
Metadata
Assignees
Labels
area:coreIssues related to `core`, which is the package that powers the SDKs at runtimeIssues related to `core`, which is the package that powers the SDKs at runtimebugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed