common: fix linter errors
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
16c407e33c
commit
9b0aec378e
|
@ -504,7 +504,7 @@ class JsonRPC:
|
|||
params = obj['params']
|
||||
if not isinstance(params, dict):
|
||||
return self.build_error(
|
||||
-32602, f"Invalid params:", req_id, method_name=method_name
|
||||
-32602, "Invalid params:", req_id, method_name=method_name
|
||||
)
|
||||
return await self.execute_method(method_name, method, req_id, conn, params)
|
||||
|
||||
|
|
Loading…
Reference in New Issue