Skip to content

Commit ce4caea

Browse files
Update ServerTemplateResponse.java to fix b/438607881
In the server template builder flow using cached template, evaluation using custom signals is not working as intended.
1 parent 7a28b89 commit ce4caea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/google/firebase/remoteconfig/internal/ServerTemplateResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class ServerTemplateResponse {
3232
@Key("parameters")
3333
private Map<String, ParameterResponse> parameters;
3434

35-
@Key("conditions")
35+
@Key("serverConditions")
3636
private List<ServerConditionResponse> serverConditions;
3737

3838
@Key("parameterGroups")
@@ -102,7 +102,7 @@ public static final class ServerConditionResponse {
102102
@Key("name")
103103
private String name;
104104

105-
@Key("condition")
105+
@Key("serverCondition")
106106
private OneOfConditionResponse condition;
107107

108108
public String getName() {
@@ -248,7 +248,7 @@ public static final class PercentConditionResponse {
248248
@Key("microPercentRange")
249249
private MicroPercentRangeResponse microPercentRange;
250250

251-
@Key("percentOperator")
251+
@Key("percentConditionOperator")
252252
private String percentOperator;
253253

254254
@Key("seed")

0 commit comments

Comments
 (0)