Skip to content

Commit

Permalink
fix(sentry_webhook): rollback Salesforce value changes (Jigsaw-Code#1461
Browse files Browse the repository at this point in the history
)

* Revert "chore(sentry_webhook): update Salesforce values (Jigsaw-Code#1419)"

This reverts commit 8367783.

* Keep the dev changes as they don't have a production impact.

* Update tests.
  • Loading branch information
sbruens authored Dec 11, 2023
1 parent b878904 commit 2a30486
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/sentry_webhook/post_sentry_event_to_salesforce.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ describe('postSentryEventToSalesforce', () => {
'&00N0b00000BqOA4=' +
'&description=my%20message' +
'&type=Outline%20client' +
'&00N5a00000DXy19=test%20category' +
'&00N5a00000DXxmo=test%20os' +
'&00N5a00000DXxmq=test%20version'
'&00N0b00000BqOA2=test%20category' +
'&00N0b00000BqOfW=test%20os' +
'&00N0b00000BqOfR=test%20version'
);
expect(mockRequest.end).toHaveBeenCalled();
});
Expand Down
8 changes: 4 additions & 4 deletions src/sentry_webhook/post_sentry_event_to_salesforce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ const SALESFORCE_FORM_FIELDS_PROD: SalesforceFormFields = {
recordType: 'recordType',
email: 'email',
description: 'description',
category: '00N5a00000DXy19',
cloudProvider: '00N5a00000DXxmn',
category: '00N0b00000BqOA2',
cloudProvider: '00N0b00000BqOA7',
sentryEventUrl: '00N0b00000BqOA4',
os: '00N5a00000DXxmo',
version: '00N5a00000DXxmq',
os: '00N0b00000BqOfW',
version: '00N0b00000BqOfR',
type: 'type',
};
const SALESFORCE_FORM_VALUES_DEV: SalesforceFormValues = {
Expand Down

0 comments on commit 2a30486

Please sign in to comment.