Skip to content

Commit

Permalink
12308 add reference area crud (#125)
Browse files Browse the repository at this point in the history
* 12308 add an endpoint to update app user feature configuration

* 12308 update how appId is passed to UPS
  • Loading branch information
palina-krukovich authored May 9, 2024
1 parent a001768 commit 69d427f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,12 @@ public ResponseEntity<AssetDto> getAsset(UUID appId, String filename) {

public ResponseEntity<Void> updateAppUserFeatureConfiguration(UUID appId, String featureName, JsonNode configuration) {
String url = UriComponentsBuilder.fromUriString(FEATURES_FEATURE_NAME_URL)
.queryParam("appId", appId)
.buildAndExpand(featureName)
.toUriString();

return userProfileRestTemplate.exchange(
url, PUT, httpEntityWithUserBearerAuthIfPresentAndNoCacheHeader(configuration),
new ParameterizedTypeReference<Void>() {}, appId);
new ParameterizedTypeReference<Void>() {});
}
}

0 comments on commit 69d427f

Please sign in to comment.