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