Skip to content

Commit 517adf9

Browse files
removing logging
1 parent fd517cc commit 517adf9

File tree

1 file changed

+1
-12
lines changed
  • docs-v2/pages/api/demo-connect/accounts

1 file changed

+1
-12
lines changed

docs-v2/pages/api/demo-connect/accounts/[id].js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
* Retrieves information about connected accounts for the interactive demo
44
*/
55
import { 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({

0 commit comments

Comments
 (0)