Skip to content

Commit 56e7832

Browse files
committed
fix: remove hardcoded true for debugging yieldwatch and coinex
1 parent 9ddfa08 commit 56e7832

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/providers/coinex/holding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (p *Provider) Once() {
109109
}
110110
httpClient := mediary.Init().WithPreconfiguredClient(client)
111111

112-
if true {
112+
if p.data.Debug {
113113
httpClient = httpClient.AddInterceptors(common.DumpRequestResponseWrappedLogger(p.logger))
114114
}
115115

internal/providers/yieldwatch/holding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (p *Provider) Once() {
109109
}
110110
httpClient := mediary.Init().WithPreconfiguredClient(client)
111111

112-
if true {
112+
if p.data.Debug {
113113
httpClient = httpClient.AddInterceptors(common.DumpRequestResponseWrappedLogger(p.logger))
114114
}
115115

0 commit comments

Comments
 (0)