-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update client.js to add RPC suffixes #271
Conversation
f6af2eb
to
570e4c7
Compare
@kimveasna , thank you for the fix. |
@@ -333,7 +333,7 @@ class Client extends Base { | |||
result = obj.Body[outputName]; | |||
} | |||
if (!result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some how there are two if blocks implementing the same condition
along with the changes in this PR we could fix the first block with the regex as well
(?:(Out|\.Out)(?:put)?|(Response|\.Response))$
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticed two if blocks handling similar if conditions, the first one with regex could also be improved.
I am approving this PR anyway.
LGTM
@@ -333,7 +333,7 @@ class Client extends Base { | |||
result = obj.Body[outputName]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can fix the previous regex block as well :
(?:(Out|\.Out)(?:put)?|(Response|\.Response))$
@kimveasna , please squash your commits. e.g.
|
Thank you for the instructions. All done. |
Description
Additional RPC suffixes are appended to manage SOAP RFC from SAP auto-generated webservices.
Related issues
Checklist
guide