Skip to content

Commit

Permalink
Merge branch 'master' into issues/iotgw-372
Browse files Browse the repository at this point in the history
  • Loading branch information
samson0v authored Oct 29, 2024
2 parents 42f00d5 + 5c7dd8b commit cde1234
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions thingsboard_gateway/gateway/tb_gateway_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1583,10 +1583,10 @@ def __rpc_gateway_processing(self, request_id, content):
return {"error": "Method not found", "code": 404}
elif isinstance(arguments, list):
result = method_function(*arguments)
elif arguments:
result = method_function(arguments)
else:
elif arguments == '{}' or arguments is None:
result = method_function()
else:
result = method_function(arguments)

return result

Expand Down

0 comments on commit cde1234

Please sign in to comment.