Skip to content

Commit

Permalink
#782 | add the new value as first entry for the parameter so that it …
Browse files Browse the repository at this point in the history
…overrides the previous value if request param is expecting a single value, or else use the whole list if its expecting a collection
  • Loading branch information
himeshr committed Sep 12, 2024
1 parent 9fd54b1 commit 396ccca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public void addParameter(String name, String value) {
values = new String[0];
}
List<String> list = new ArrayList<String>(values.length + 1);
list.addAll(Arrays.asList(values));
list.add(value);
list.addAll(Arrays.asList(values));
parameterMap.put(name, list.toArray(new String[0]));
}

Expand Down
2 changes: 1 addition & 1 deletion avni-server-api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ metabase.api.url=${METABASE_API_URL:http://localhost:3000/api}
metabase.api.key=${METABASE_API_KEY:mb_uhFRMqCSre4v/hTZTsQcMnh8k2GCZFX2tGmSBdoxNow=}

# end of life
avni.endpoints.endOfLife.1=${AVNI_ENDPOINT_END_OF_LIFE_1:2024-09-09}
avni.endpoints.endOfLife.1=${AVNI_ENDPOINT_END_OF_LIFE_1:2024-09-05}
4 changes: 4 additions & 0 deletions makefiles/prerelease.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ endif

open-cognito-prerelease:
open https://ap-south-1.console.aws.amazon.com/cognito/v2/idp/user-pools/ap-south-1_vfNvMvMk9/users?region=ap-south-1


tunnel_prerelease_server_for_debug:
ssh avni-prerelease -L 5005:127.0.0.1:5005

0 comments on commit 396ccca

Please sign in to comment.