This commit is contained in:
parent
116950b463
commit
5379471aea
@ -159,7 +159,7 @@ public class GeneralAutoResponder<M extends Message> {
|
||||
final Class<? extends Message> messageClass = message.getClass();
|
||||
final ActionUnit<MainUnit, M> actionUnit = getActionUnit(actionUnits, messageClass);
|
||||
if (checkNotNull(actionUnit)) {
|
||||
return actionUnit.action(unitRequest)
|
||||
return Uni.createFrom().deferred(() -> actionUnit.action(unitRequest))
|
||||
.flatMap(
|
||||
newUnitRequest -> {
|
||||
final Optional<MainUnit<M>> optDefaultUnit = storyLineService.getDefaultUnit();
|
||||
|
Loading…
Reference in New Issue
Block a user