Skip to content

Commit 9117c38

Browse files
committed
polish
1 parent 94ac3ed commit 9117c38

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/src/main/java/io/split/client/HttpSplitChangeFetcher.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ private ChangeDto<RuleBasedSegment> createEmptyDTO() {
135135
private URI buildURL(FetchOptions options, long since, long sinceRBS) throws URISyntaxException {
136136
URIBuilder uriBuilder = new URIBuilder(_target).addParameter(SPEC, "" + specVersion);
137137
uriBuilder.addParameter(SINCE, "" + since);
138-
uriBuilder.addParameter(RB_SINCE, "" + sinceRBS);
138+
if (specVersion.equals(SPEC_1_3)) {
139+
uriBuilder.addParameter(RB_SINCE, "" + sinceRBS);
140+
}
139141
if (!options.flagSetsFilter().isEmpty()) {
140142
uriBuilder.addParameter(SETS, "" + options.flagSetsFilter());
141143
}

0 commit comments

Comments
 (0)