Skip to content

Commit

Permalink
[Automated] Merged master into target k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
va-vsp-bot committed Apr 26, 2024
2 parents 254f9dd + a59f116 commit 9937f95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/travel_pay/app/services/travel_pay/client.rb
Expand Up @@ -37,7 +37,8 @@ def request_btsss_token(veis_token, sts_token)
req.headers['BTSSS-API-Client-Number'] = client_number.to_s
req.body = { authJwt: sts_token }
end
response.body['access_token']

response.body['data']['accessToken']
end

##
Expand Down
2 changes: 1 addition & 1 deletion modules/travel_pay/spec/services/client_spec.rb
Expand Up @@ -44,7 +44,7 @@
[
200,
{ 'Content-Type': 'application/json' },
'{"access_token": "fake_btsss_token"}'
'{"data": {"accessToken": "fake_btsss_token"}}'
]
end

Expand Down

0 comments on commit 9937f95

Please sign in to comment.