Skip to content

Commit

Permalink
[service-utils] - fix use endpoint (thirdweb-dev#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsdls authored Jul 14, 2023
1 parent 1d32b29 commit d724ad8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-mayflies-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/service-utils": patch
---

fix use endpoint
2 changes: 1 addition & 1 deletion packages/service-utils/src/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function authorize(options: {
// no cached key, re-fetch from API
if (!keyData) {
const response = await fetch(
`${apiUrl}/v1/keys/use/?scope=${scope}&clientId=${clientId}`,
`${apiUrl}/v1/keys/use?scope=${scope}&clientId=${clientId}`,
{
method: "GET",
headers: {
Expand Down

0 comments on commit d724ad8

Please sign in to comment.