Skip to content

Commit

Permalink
send the endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Apr 1, 2020
1 parent 2598ec2 commit d469bcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,7 @@ export async function checkUnlockedKactus(
email: emails.find(e => e.primary),
login: user.login,
enterprise: endpoint !== getDotComAPIEndpoint(),
endpoint,
}),
})
if (response.status === HttpStatusCode.NotFound) {
Expand Down Expand Up @@ -1480,6 +1481,7 @@ export async function unlockKactusFullAccess(
enterprise: options.enterprise,
coupon: options.coupon,
metadata: options.metadata,
endpoint: account.endpoint,
}),
})
const res = await parsedResponse<{
Expand Down

0 comments on commit d469bcf

Please sign in to comment.