Исправление бага в AnswerSaveAction
This commit is contained in:
parent
caf88a210e
commit
b44841fe9b
@ -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