diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-07-20 09:15:41 +0000 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-07-20 09:15:41 +0000 |
commit | d447e23f0d09d7e2835d160c665a42bdea66bdd5 (patch) | |
tree | 10645008f13151885f6979c9dcc21df079ece4e8 /app | |
parent | a29488d0f476eae0a7821026ded3cf538256757b (diff) |
Update preferences openapi generator dependency
Issue-ID: PORTALNG-19
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ieb1d895db5cd7e4436de19264df2bbd2d6324d4c
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java b/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java index 584b3b4..510ef37 100644 --- a/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java +++ b/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java @@ -63,7 +63,7 @@ public class PreferencesController implements PreferencesApi { } @Override - public Mono<ResponseEntity<Preferences>> savePreferences(String xRequestId, @Valid Mono<Preferences> preferences, + public Mono<ResponseEntity<Preferences>> savePreferences(String xRequestId, Mono<Preferences> preferences, ServerWebExchange exchange) { return IdTokenExchange .extractUserId(exchange) @@ -81,7 +81,7 @@ public class PreferencesController implements PreferencesApi { } @Override - public Mono<ResponseEntity<Preferences>> updatePreferences(String xRequestId, @Valid Mono<Preferences> preferences, ServerWebExchange exchange) { + public Mono<ResponseEntity<Preferences>> updatePreferences(String xRequestId, Mono<Preferences> preferences, ServerWebExchange exchange) { return savePreferences(xRequestId, preferences, exchange); } |