Skip to content

Commit

Permalink
Strict type check.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Oct 4, 2024
1 parent bd5755a commit 279bc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry_webhook/post_sentry_event_to_salesforce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function getSalesforceFormData(
form.push(encodeFormData(formFields.version, tags.get('sentry:release')));
form.push(encodeFormData(formFields.build, tags.get('build.number')));
const outreachConsent = (tags.get('outreachConsent') ?? 'False').toLowerCase();
if (outreachConsent == 'true') {
if (outreachConsent === 'true') {
form.push(encodeFormData(formFields.outreachConsent, outreachConsent));
}
const formVersion = Number(tags.get('formVersion') ?? 1);
Expand Down

0 comments on commit 279bc90

Please sign in to comment.