Merge branch 'bugfix/answer-save' into develop
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing

# 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:
Struchkov Mark 2023-05-24 06:02:46 +03:00
commit 14ec0e4e35
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -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));