From a876dff42723048d68aad8ed3544b4d4a0720606 Mon Sep 17 00:00:00 2001 From: Frederik Rommel <15031079+rommelfreddy@users.noreply.github.com> Date: Wed, 26 Jun 2024 16:51:59 +0200 Subject: [PATCH] replay integration: fix initialisation of integration --- view/frontend/templates/script/sentry.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/templates/script/sentry.phtml b/view/frontend/templates/script/sentry.phtml index efc665e..1aeb299 100644 --- a/view/frontend/templates/script/sentry.phtml +++ b/view/frontend/templates/script/sentry.phtml @@ -40,7 +40,7 @@ if (typeof Sentry !== 'undefined') { }), useSessionReplay()): ?> - new Sentry.Replay({ + Sentry.replayIntegration({ blockAllMedia: escapeHtml($block->getReplayBlockMedia() ? 'true' : 'false') ?>, maskAllText: escapeHtml($block->getReplayMaskText() ? 'true' : 'false') ?>, })