Skip to content

Commit

Permalink
sette system context
Browse files Browse the repository at this point in the history
system context manglet og da ble det feil når man kjørte async...
  • Loading branch information
torhakon authored Sep 3, 2024
1 parent b291138 commit 786e713
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public with sharing class MonitorFssIntegration_Schedule implements Schedulable
'GET_UNIT_CONTACT_INFORMATION',
new Map<String, String>{ 'enhetsnummer' => '0104' }
);
apiCtrl.addServiceAuthHeader('gcpsaasproxy');
apiCtrl.setSystemContext();
apiCtrl.addServiceAuthHeader('gcpsaasproxy');
apiCtrl.doCallout();

String bodyString = apiCtrl.getResponse().getBody();
Expand Down

0 comments on commit 786e713

Please sign in to comment.