Fix config normalization in addon configuration (#4528)
Signed-off-by: Jan N. Klug <github@klug.nrw>pull/4530/head
parent
1a91ef2b44
commit
fe730b3918
|
@ -416,7 +416,7 @@ public class AddonResource implements RESTResource, EventSubscriber {
|
|||
}
|
||||
Configuration oldConfiguration = configurationService.get(addonInfo.getServiceId());
|
||||
configurationService.update(addonInfo.getServiceId(),
|
||||
new Configuration(normalizeConfiguration(configuration, addonId)));
|
||||
new Configuration(normalizeConfiguration(configuration, infoUid)));
|
||||
return oldConfiguration != null ? Response.ok(oldConfiguration.getProperties()).build()
|
||||
: Response.noContent().build();
|
||||
} catch (IOException ex) {
|
||||
|
|
Loading…
Reference in New Issue