Skip to content

Commit

Permalink
Small quickstart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dylburger committed Nov 1, 2024
1 parent 8f7acfe commit 0a5c3b6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs-v2/pages/connect/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ https://pipedream.com/_static/connect.html?token={token}&connectLink=true&app={a

Once your user connects an account, you can retrieve their credentials from your backend.

This example shows you how to fetch credentials by your end user's `external_id` and the app's name slug. You can also fetch all connected accounts for a specific app, or a specific user — see the [Connect API reference](/connect/api).
This example shows you how to fetch credentials by your end user's `external_user_id`. You can also fetch all connected accounts for a specific app, or a specific user — see the [Connect API reference](/connect/api).

<Tabs items={['TypeScript', 'Node.js']}>
<Tabs.Tab>
Expand All @@ -179,9 +179,9 @@ const pd = createBackendClient({
}
});

async function getUserAccounts(externalId: string, include_credentials: boolean = false) {
async function getUserAccounts(external_user_id: string, include_credentials: boolean = false) {
await pd.getAccounts({
external_user_id: externalId,
external_user_id,
include_credentials, // set to true to include credentials
})

Expand All @@ -203,9 +203,9 @@ const pd = createBackendClient({
}
});

async function getUserAccounts(externalId, include_credentials = false) {
async function getUserAccounts(external_user_id, include_credentials = false) {
await pd.getAccounts({
external_user_id: externalId,
external_user_id,
include_credentials, // set to true to include credentials
})

Expand Down

0 comments on commit 0a5c3b6

Please sign in to comment.