Skip to content

Commit

Permalink
chore: Remove unnecessary passing of deprecated credentials option (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaner authored Jul 1, 2024
1 parent e3d5d21 commit 19f7963
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/connectivity/src/scp-cf/connectivity-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ export function httpProxyHostAndPort(): HostAndPort {
*/
export async function socksProxyHostAndPort(): Promise<ProxyConfiguration> {
const service = readConnectivityServiceBinding();
const connectivityServiceCredentials = service.credentials;
const connectivityServiceToken = await serviceToken(service, {
xsuaaCredentials: connectivityServiceCredentials
} as any);
const connectivityServiceToken = await serviceToken(service);
return {
host: service.credentials.onpremise_proxy_host,
port: parseInt(service.credentials.onpremise_socks5_proxy_port),
Expand Down

0 comments on commit 19f7963

Please sign in to comment.