Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
uelei committed Nov 5, 2023
1 parent 316f6d9 commit 60e5f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func MakeRangeRequest(startDate time.Time, endDate time.Time, currency string, f
filtered := []DayValues{}

for i := range result.Value {
if (result.Value[i].TipoBoletim == "Fechamento") || (filter == false) {
if (result.Value[i].TipoBoletim == "Fechamento") || (!filter) {
filtered = append(filtered, DayValues{CotacaoCompra: result.Value[i].CotacaoCompra, CotacaoVenda: result.Value[i].CotacaoVenda, DataHoraCotacao: result.Value[i].DataHoraCotacao})
}
}
Expand Down

0 comments on commit 60e5f41

Please sign in to comment.