Skip to content

Commit

Permalink
fix marshal
Browse files Browse the repository at this point in the history
  • Loading branch information
trajan0x committed Oct 10, 2024
1 parent 2f7f49b commit 3ad23c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/omnirpc/modules/receiptsbackup/receiptsbackup.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (r *receiptsProxyImpl) processRequest(ctx context.Context, rpcRequest rpc.R
req := r.client.NewRequest()
body, err := json.Marshal(rpcRequest)

span.AddEvent("request marshalled", trace.WithAttributes(attribute.String("body", string(body))))
span.AddEvent("request marshaled", trace.WithAttributes(attribute.String("body", string(body))))

Check warning on line 151 in services/omnirpc/modules/receiptsbackup/receiptsbackup.go

View check run for this annotation

Codecov / codecov/patch

services/omnirpc/modules/receiptsbackup/receiptsbackup.go#L150-L151

Added lines #L150 - L151 were not covered by tests
//nolint: exhaustive
switch client.RPCMethod(rpcRequest.Method) {
Expand Down

0 comments on commit 3ad23c2

Please sign in to comment.