Skip to content

Commit

Permalink
change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hirosassa authored and jeremytchang committed Oct 17, 2022
1 parent 6cb9531 commit 9534bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/rtl/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (s *AuthSession) Do(result interface{}, method, ver, path string, reqPars m
return fmt.Errorf("response error. status=%s. error=%s", res.Status, string(b))
}

if res.StatusCode == 204 { // for delete endpoints there's no response body
if res.StatusCode == 204 { // 204 No Content. DELETE endpoints returns response with no body
return nil
}

Expand Down

0 comments on commit 9534bd8

Please sign in to comment.