Skip to content

Commit

Permalink
Merge pull request #19 from checkmarx-ts/hotfix/issue18-policy-retrie…
Browse files Browse the repository at this point in the history
…val-error

Hotfix/issue18 policy retrieval error
  • Loading branch information
nleach999 authored Aug 7, 2020
2 parents 0e275f6 + 4f0414b commit 52d98ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CxRestClient/CxRestContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ public CxRestContext build()
CxRestContext retVal = new CxRestContext()
{
SastToken = GetLoginToken(_url, _user, _pass, SAST_SCOPE, _validate),
MNOToken = GetLoginToken(_url, _user, _pass, MNO_SCOPE, _validate),
MNOToken = GetLoginToken(_url, _user, _pass, $"{MNO_SCOPE} {SAST_SCOPE}", _validate),
Url = _url,
MnoUrl = _mnoUrl == null ? _url : _mnoUrl,
MnoUrl = String.IsNullOrEmpty (_mnoUrl) ? _url : _mnoUrl,
ValidateSSL = _validate,
Timeout = new TimeSpan(0, 0, _timeout)
};
Expand Down

0 comments on commit 52d98ac

Please sign in to comment.