Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update base-client.ts

Kiran Ke5c1a07d0b64
diff --git a/apps/web/lib/http/base-client.ts b/apps/web/lib/http/base-client.ts
index 79b807433c..78d90916f3 100644
--- a/apps/web/lib/http/base-client.ts
+++ b/apps/web/lib/http/base-client.ts
@@ -266,7 +266,7 @@ export abstract class HttpBaseClient {
if (this.debug) {
console.log(
`[${this.vendor}] ${method} ${safeUrl} -> ${response.status}`,
- data,
+ ...(this.logResponseBodies ? [data] : []),
);
}