Hi.
When I use my rpc hook I receive this error:
{
"error": "json: cannot unmarshal object into Go value of type string",
"message": "json: cannot unmarshal object into Go value of type string",
"code": 3
}
My request:
POST /v2/rpc/updateStorage HTTP/1.1
> Host: 127.0.0.1:7350
> Content-Type: application/json
> Authorization: Bearer <my token>
> Accept: */*
> Content-Length: 80
{
"collection": "q",
"key": "k",
"newValue": {
"value1": "value"
}
}