Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Dec 30, 2024
1 parent 8b213cd commit 0f382f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tariff/pun.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (t *Pun) getData(day time.Time) (api.Rates, error) {
}

resp, err := client.Do(req)
if err != nil {
if err != nil || resp.StatusCode == http.StatusNotFound {
return nil, err
}

Expand Down

0 comments on commit 0f382f9

Please sign in to comment.