Skip to content
Snippets Groups Projects
Verified Commit 4a2cdb5e authored by Hugo Renard's avatar Hugo Renard
Browse files

fix regression

parent d646d2dc
No related branches found
No related tags found
No related merge requests found
Pipeline #969 passed with stage
in 25 seconds
......@@ -79,7 +79,7 @@ public class ScimClient {
var adapter = getAdapter(aClass);
adapter.apply(kcModel);
// If mapping exist then it was created by import so skip.
if (adapter.query("findById", adapter.getId()).getSingleResult() != null) {
if (adapter.query("findById", adapter.getId()).getResultList().size() != 0) {
return;
}
var retry = registry.retry("create-" + adapter.getId());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment