Skip to content

Commit

Permalink
Improve callMethod in client action
Browse files Browse the repository at this point in the history
  • Loading branch information
warunalakshitha committed Nov 19, 2024
1 parent 9fb5454 commit 6190345
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private static Object invokeClientMethod(Environment env, BObject client, BStrin
private static Object invokeClientMethod(Environment env, BObject client, String methodName, Object[] paramFeed) {
return env.yieldAndRun(() -> {
try {
return env.getRuntime().callMethod(client, methodName, new StrandMetadata(true, null), paramFeed);
return env.getRuntime().callMethod(client, methodName, null, paramFeed);
} catch (BError bError) {
return HttpUtil.createHttpError("client method invocation failed: " + bError.getErrorMessage(),
HttpErrorType.CLIENT_ERROR, bError);
Expand Down

0 comments on commit 6190345

Please sign in to comment.