Merge branch 'bugfix/answer-save' into develop
# Conflicts: # bot-context/bot-context-main/pom.xml # bot-context/bot-context-quarkus/pom.xml # bot-context/bot-context-simple/pom.xml # bot-context/pom.xml # bot-core/bot-core-main/pom.xml # bot-core/bot-core-quarkus/pom.xml # bot-core/bot-core-simple/pom.xml # bot-core/pom.xml # bot-data/bot-data-main/pom.xml # bot-data/bot-data-quarkus/pom.xml # bot-data/bot-data-simple/pom.xml # bot-data/pom.xml # bot-domain/bot-domain-main/pom.xml # bot-domain/bot-domain-quarkus/pom.xml # bot-domain/bot-domain-simple/pom.xml # bot-domain/pom.xml # bot-exception/pom.xml # pom.xml
This commit is contained in:
commit
14ec0e4e35
@ -29,7 +29,7 @@ public class AnswerSaveAction<D> implements ActionUnit<AnswerSave<Message, D>, M
|
||||
return Uni.createFrom().voidItem()
|
||||
.onItem().transformToUni(
|
||||
v -> checkSave.check(message)
|
||||
.onItem().ifNotNull().transformToUni(
|
||||
.flatMap(
|
||||
unit -> {
|
||||
if (checkNotNull(unit)) {
|
||||
return Uni.createFrom().item(UnitRequest.of(unit, message));
|
||||
|
Loading…
Reference in New Issue
Block a user