Skip to content

Commit 7801ebc

Browse files
committed
fix(app): use body instead of auth in SDK auth.set calls
1 parent dbd64f8 commit 7801ebc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/src/components/dialog-connect-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export function DialogConnectProvider(props: { provider: string }) {
383383
setFormStore("error", undefined)
384384
await globalSDK.client.auth.set({
385385
providerID: props.provider,
386-
auth: {
386+
body: {
387387
type: "api",
388388
key: apiKey,
389389
},

packages/app/src/components/dialog-custom-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function DialogCustomProvider(props: Props) {
131131
const auth = result.key
132132
? globalSDK.client.auth.set({
133133
providerID: result.providerID,
134-
auth: {
134+
body: {
135135
type: "api",
136136
key: result.key,
137137
},

0 commit comments

Comments
 (0)