Skip to content

Commit 0a5c3b6

Browse files
committed
Small quickstart fix
1 parent 8f7acfe commit 0a5c3b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs-v2/pages/connect/quickstart.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ https://pipedream.com/_static/connect.html?token={token}&connectLink=true&app={a
163163

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

166-
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).
166+
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).
167167

168168
<Tabs items={['TypeScript', 'Node.js']}>
169169
<Tabs.Tab>
@@ -179,9 +179,9 @@ const pd = createBackendClient({
179179
}
180180
});
181181

182-
async function getUserAccounts(externalId: string, include_credentials: boolean = false) {
182+
async function getUserAccounts(external_user_id: string, include_credentials: boolean = false) {
183183
await pd.getAccounts({
184-
external_user_id: externalId,
184+
external_user_id,
185185
include_credentials, // set to true to include credentials
186186
})
187187

@@ -203,9 +203,9 @@ const pd = createBackendClient({
203203
}
204204
});
205205

206-
async function getUserAccounts(externalId, include_credentials = false) {
206+
async function getUserAccounts(external_user_id, include_credentials = false) {
207207
await pd.getAccounts({
208-
external_user_id: externalId,
208+
external_user_id,
209209
include_credentials, // set to true to include credentials
210210
})
211211

0 commit comments

Comments
 (0)