File tree Expand file tree Collapse file tree
src/main/java/org/kohsuke/github Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public abstract class SCIMSearchBuilder<T> extends GHQueryBuilder<T> {
2525 req .withUrlPath (getApiUrl ());
2626 req .withHeader (SCIMConstants .HEADER_ACCEPT , SCIMConstants .SCIM_ACCEPT );
2727 req .withHeader (SCIMConstants .HEADER_API_VERSION , SCIMConstants .GITHUB_API_VERSION );
28+ req .rateLimit (RateLimitTarget .SEARCH );
2829 }
2930
3031 SCIMSearchBuilder (GitHub root , GHEnterpriseExt enterprise , Class <? extends SCIMSearchResult <T >> receiverType ) {
@@ -35,6 +36,7 @@ public abstract class SCIMSearchBuilder<T> extends GHQueryBuilder<T> {
3536 req .withUrlPath (getApiUrl ());
3637 req .withHeader (SCIMConstants .HEADER_ACCEPT , SCIMConstants .SCIM_ACCEPT );
3738 req .withHeader (SCIMConstants .HEADER_API_VERSION , SCIMConstants .GITHUB_API_VERSION );
39+ req .rateLimit (RateLimitTarget .SEARCH );
3840 }
3941
4042 /**
You can’t perform that action at this time.
0 commit comments