common: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-10-07 10:29:04 -04:00
parent 16c407e33c
commit 9b0aec378e
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 1 deletions

View File

@ -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)