Skip to content

Commit

Permalink
fix(load-callback): set recipient of viber callbacks properly
Browse files Browse the repository at this point in the history
  • Loading branch information
vincejv committed Nov 14, 2022
1 parent 4af24b4 commit 312b198
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ private Uni<?> sendToBotSource(RewardsTransStatus rewardsTransStatus, UserDto us
.chain(() -> telegramReqApi.sendMsg(msgrMsg, user.getId()));
}
case VIBER -> {
msgrMsg.setRecipient(user.getTelegramId());
msgrMsg.setRecipient(user.getViberId());
yield viberReqApi.sendMsg(msgrMsg, user.getId());
}
default -> Uni.createFrom().voidItem();
Expand Down

0 comments on commit 312b198

Please sign in to comment.