Skip to content

Commit

Permalink
fix initialisation of replay integration (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
rommelfreddy authored Jul 4, 2024
1 parent d48855e commit 49329be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/frontend/templates/script/sentry.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (typeof Sentry !== 'undefined') {
}),
<?php endif ?>
<?php if ($block->useSessionReplay()): ?>
new Sentry.Replay({
Sentry.replayIntegration({
blockAllMedia: <?= $block->escapeHtml($block->getReplayBlockMedia() ? 'true' : 'false') ?>,
maskAllText: <?= $block->escapeHtml($block->getReplayMaskText() ? 'true' : 'false') ?>,
})
Expand Down

0 comments on commit 49329be

Please sign in to comment.