diff --git a/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java b/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java index 9e648e60190..916241200e1 100644 --- a/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java @@ -271,7 +271,7 @@ public IShouldRetry getShouldRetry() { * @param maxRetries Max retries for a request */ public void setMaxRetries(int maxRetries) { - baseRequest.setMaxRedirects(maxRetries); + baseRequest.setMaxRetries(maxRetries); } /**