Fix jsonrpc attribute (#9576)

This commit is contained in:
Piotr Mikołajczyk 2023-06-13 18:13:13 +02:00 committed by GitHub
parent 4305965295
commit 3f90e17a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ function toExt (section: string, input: Record<string, DefinitionRpc>): Record<s
return Object.entries(input).reduce((output: Record<string, DefinitionRpcExt>, [method, def]): Record<string, DefinitionRpcExt> => {
output[method] = {
isSubscription: false,
jsonrpc: `${method}_${section}`,
jsonrpc: `${section}_${method}`,
method,
section,
...def