Skip to content

Commit

Permalink
Use http.StatusOK
Browse files Browse the repository at this point in the history
  • Loading branch information
MauAraujo committed May 6, 2024
1 parent f5d1d20 commit f0549aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/billing/metronome.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func (m MetronomeClient) IngestEvents(ctx context.Context, events []types.Billin
}

// Any other status code can be safely retried
if statusCode == 200 {
if statusCode == http.StatusOK {
break
}
currentAttempts++
Expand Down

0 comments on commit f0549aa

Please sign in to comment.