From a0174201bab33c5b0130b72961adc574d3b880ac Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Tue, 31 Oct 2023 11:32:49 +0100 Subject: [PATCH] fix_ isDebug --- fakeyou/builder.go | 2 +- fakeyou/fakeyou.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fakeyou/builder.go b/fakeyou/builder.go index e4ebfa8..01ccc83 100644 --- a/fakeyou/builder.go +++ b/fakeyou/builder.go @@ -18,7 +18,7 @@ func (f *Builder) Build() []string { func (f *fakeyou) IsDebug() bool { - return f.configuration.IsDebug + return f.configuration.isDebug } // Resty Methods diff --git a/fakeyou/fakeyou.go b/fakeyou/fakeyou.go index c13333c..27323fb 100644 --- a/fakeyou/fakeyou.go +++ b/fakeyou/fakeyou.go @@ -32,7 +32,7 @@ func NewFakeYou(configuration *configuration.Configuration) IFakeYou { fk.restClient = resty.New() fk.restClient.SetBaseURL(routes.BASE_URL) fk.restClient.SetHeader("Content-Type", "application/json") - if configuration.IsDebug { + if configuration.isDebug { fk.restClient.SetDebug(true) } return fk