Skip to content

Commit

Permalink
remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
pirtleshell committed Feb 2, 2024
1 parent 0b2b75b commit 2e04bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/cachemdw/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (c *ServiceCache) GetCachedQueryResponse(
}
response := JsonRpcResponse{
Version: req.JSONRPCVersion,
ID: []byte(id),
ID: id,
Result: queryResponse.JsonRpcResponseResult,
}
responseInJSON, err := json.Marshal(response)
Expand Down

0 comments on commit 2e04bbc

Please sign in to comment.