Skip to content

Commit 262c39e

Browse files
committed
address comment
1 parent 528eefb commit 262c39e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

www/apps/api-reference/specs/store/code_samples/TypeScript/auth_customer_{auth_provider}_callback/post.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const sdk = new Medusa({
1313
publishableKey: process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY,
1414
})
1515

16-
await sdk.auth.callback(
16+
const token = await sdk.auth.callback(
1717
"customer",
1818
"github",
1919
{

www/apps/api-reference/specs/store/openapi.full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ paths:
347347
publishableKey: process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY,
348348
})
349349

350-
await sdk.auth.callback(
350+
const token = await sdk.auth.callback(
351351
"customer",
352352
"github",
353353
{

www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_callback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
* publishableKey: process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY,
8383
* })
8484
*
85-
* await sdk.auth.callback(
85+
* const token = await sdk.auth.callback(
8686
* "customer",
8787
* "github",
8888
* {

0 commit comments

Comments
 (0)