Skip to content

Commit

Permalink
remove unnecessary 0 check
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenleach committed Aug 8, 2024
1 parent 331eb2e commit 0730471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/servicenow/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ func (c *Client) doRequest(ctx context.Context, urlAddress string, method string
if err != nil {
return "", err
}
if token < totalCount && totalCount != 0 && token != 0 {
if token < totalCount {
pageToken = offset
}
break
Expand Down

0 comments on commit 0730471

Please sign in to comment.