Fix config normalization in addon configuration (#4528)

Signed-off-by: Jan N. Klug <github@klug.nrw>
pull/4530/head
J-N-K 2024-12-31 08:44:31 +01:00 committed by GitHub
parent 1a91ef2b44
commit fe730b3918
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) {