Skip to content

Commit

Permalink
fix to make disclaimer check null-safe (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
nborges-aws authored Jan 14, 2025
1 parent fd580ef commit ead29a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ private String generateJS(final String jsEntrypoint) {
window.addEventListener('load', init);
</script>
""", jsEntrypoint, getWaitFunction(), chatQuickActionConfig,
disclaimerAcknowledged.equals("true"));
"true".equals(disclaimerAcknowledged));
}

/*
Expand Down

0 comments on commit ead29a6

Please sign in to comment.