Commit 07c4c028 authored by Jyrgen Hannus's avatar Jyrgen Hannus
Browse files

technical-debt: refactored code

parent 7c12cfb0
......@@ -48,7 +48,8 @@ public class OfficialBusinessService {
}
OfficialUserEntity savedEntity = dataService.save(entity);
notifyService.notifyCreate(composeService.composeDomain(savedEntity), requestMetaDTO);
OfficialUser domain = composeService.composeDomain(savedEntity);
notifyService.notifyCreate(domain, requestMetaDTO);
return composeService.composeDtoWithGroupManager(savedEntity);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment