This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 4c54ad83f197ef4df024bf546a5ce2793982ea28 Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Oct 4 10:07:17 2021 +0200 CAMEL-17034 - Camel-Github: StartingSha should be an URI param and not an URI path --- .../src/main/java/org/apache/camel/component/github/GitHubEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-github/src/main/java/org/apache/camel/component/github/GitHubEndpoint.java b/components/camel-github/src/main/java/org/apache/camel/component/github/GitHubEndpoint.java index 0233c73..ad2465a 100644 --- a/components/camel-github/src/main/java/org/apache/camel/component/github/GitHubEndpoint.java +++ b/components/camel-github/src/main/java/org/apache/camel/component/github/GitHubEndpoint.java @@ -69,7 +69,7 @@ public class GitHubEndpoint extends ScheduledPollEndpoint { private GitHubType type; @UriPath(label = "consumer") private String branchName; - @UriPath(label = "consumer", defaultValue = "last") + @UriParam(label = "consumer", defaultValue = "last") private String startingSha = "last"; @UriParam(label = "security", secret = true) private String oauthToken;
