JiriOndrusek commented on code in PR #19692:
URL: https://github.com/apache/camel/pull/19692#discussion_r2460404207
##########
components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/NewIssuesConsumer.java:
##########
@@ -87,7 +87,7 @@ private String getServerTimestamp() {
* @return {@link DateTimeZone} of the user
*/
private DateTimeZone getUserTimeZone() {
- URI userURI = URI.create(getEndpoint().getConfiguration().getJiraUrl()
+ "/rest/api/latest/myself");
+ URI userURI =
URI.create(getEndpoint().getConfiguration().getJiraUrl()).resolve("rest/api/latest/myself");
Review Comment:
I can look at the test, it might be more complicated then it is expected. As
whole mock test has hardcoded urls ending without `/`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]