From 88b237f862b85071a4b6cc6dee89d591f3e42319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Dufaure?= Date: Wed, 11 Aug 2021 16:06:49 +0200 Subject: [PATCH] [FIX] Delete member group dont work when multi storage (#412) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Clément Dufaure --- .../java/fr/insee/sugoi/core/service/impl/GroupServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugoi-api-core/src/main/java/fr/insee/sugoi/core/service/impl/GroupServiceImpl.java b/sugoi-api-core/src/main/java/fr/insee/sugoi/core/service/impl/GroupServiceImpl.java index 6d638591..601a12dd 100644 --- a/sugoi-api-core/src/main/java/fr/insee/sugoi/core/service/impl/GroupServiceImpl.java +++ b/sugoi-api-core/src/main/java/fr/insee/sugoi/core/service/impl/GroupServiceImpl.java @@ -253,7 +253,7 @@ public ProviderResponse deleteUserFromGroup( } ProviderResponse response = storeProvider - .getWriterStore(realm) + .getWriterStore(realm, storage) .deleteUserFromGroup(appName, groupName, userId, providerRequest); sugoiEventPublisher.publishCustomEvent( realm,