Skip to content

Commit

Permalink
Send Email to employees
Browse files Browse the repository at this point in the history
  • Loading branch information
docwho2 committed Nov 29, 2023
1 parent cf9a8d1 commit 48647f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public static FunctionExecutor getFunctionExecuter(LexV2Event lexRequest) {
}

final var inputMode = LexInputMode.fromString(lexRequest.getInputMode());
final var callingNumber = lexRequest.getRequestAttributes() != null ? lexRequest.getRequestAttributes().get("callingNumber") : null;
final var callingNumber = lexRequest.getSessionState().getSessionAttributes() != null ?
lexRequest.getSessionState().getSessionAttributes().get("callingNumber") : null;
final var list = new LinkedList<AbstractFunction>();

functions.forEach(f -> {
Expand Down

0 comments on commit 48647f9

Please sign in to comment.