From 87f714ef25a091ebfdd66554fb60d178ee3fcf85 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Tue, 5 Jul 2022 14:30:16 +0200 Subject: [PATCH] Added sentry dsn placeholder attribute to comments helper refs https://github.com/TryGhost/Team/issues/1664 --- core/frontend/helpers/comments.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/frontend/helpers/comments.js b/core/frontend/helpers/comments.js index b05479a600..4be6569c83 100644 --- a/core/frontend/helpers/comments.js +++ b/core/frontend/helpers/comments.js @@ -14,7 +14,8 @@ async function comments() { 'ghost-comments': urlUtils.getSiteUrl(), api: urlUtils.urlFor('api', {type: 'content'}, true), key: frontendKey, - 'comment-id': commentId + 'comment-id': commentId, + 'sentry-dsn': '' /* todo: insert sentry dsn key here */ }; let dataAttributes = '';