Skip to content

Commit 1deae01

Browse files
committed
- fixes a bug where the max retries would not be set for collection requests
1 parent 9bfbcbd commit 1deae01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public IShouldRetry getShouldRetry() {
375375
* @param maxRetries Max retries for a request
376376
*/
377377
public void setMaxRetries(int maxRetries) {
378-
baseRequest.setMaxRedirects(maxRetries);
378+
baseRequest.setMaxRetries(maxRetries);
379379
}
380380

381381
/**

0 commit comments

Comments
 (0)