Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Commit

Permalink
Adjusted get_scorecard for oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeepmehra committed Mar 20, 2017
1 parent 1f784c2 commit b09a2fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/servicenow/ServiceNowClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def get_change_request_states(self):
def get_scorecards(self):
servicenow_api_url = '/api/now/v1/pa/scorecards'
response = self.httpRequest.get(servicenow_api_url, contentType='application/json')
self.revoke_token()
if response.getStatus() == SN_RESULT_STATUS:
data = json.loads(response.getResponse())
return data['result']
Expand Down

0 comments on commit b09a2fc

Please sign in to comment.