File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
docs-v2/pages/api/demo-connect/accounts Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 33 * Retrieves information about connected accounts for the interactive demo
44 */
55import { createBackendClient } from "@pipedream/sdk/server" ;
6- import {
7- createApiHandler , generateRequestToken ,
8- } from "../utils" ;
6+ import { createApiHandler } from "../utils" ;
97
108/**
119 * Handler for account details retrieval
@@ -19,15 +17,6 @@ async function accountHandler(req, res) {
1917 } ) ;
2018 }
2119
22- // Debug logging for troubleshooting token validation
23- console . log ( "Account API request:" , {
24- id,
25- host : req . headers . host ,
26- origin : req . headers . origin ,
27- requestToken : req . headers [ "x-request-token" ] ,
28- expectedToken : generateRequestToken ( req ) ,
29- } ) ;
30-
3120 try {
3221 // Initialize the Pipedream SDK client
3322 const pd = createBackendClient ( {
You can’t perform that action at this time.
0 commit comments