0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed config ref for link click tracking logging (#21832)

no ref
This commit is contained in:
Steve Larson 2024-12-08 17:37:08 -06:00
parent de6efba68a
commit 8d4abb4e33

View file

@ -54,7 +54,7 @@ module.exports = class LinkClickRepository {
// Convert uuid to id // Convert uuid to id
const member = await this.#Member.findOne({uuid: linkClick.member_uuid}); const member = await this.#Member.findOne({uuid: linkClick.member_uuid});
if (!member) { if (!member) {
if (config.get('captureLinkClickBadMemberUuid')) { if (config.get('bulkEmail:captureLinkClickBadMemberUuid')) {
sentry.captureMessage('LinkClickTrackingService > Member not found', {extra: {member_uuid: linkClick.member_uuid}}); sentry.captureMessage('LinkClickTrackingService > Member not found', {extra: {member_uuid: linkClick.member_uuid}});
} }
return; return;