Skip to content

Commit

Permalink
Left assign
Browse files Browse the repository at this point in the history
  • Loading branch information
carrascoacd committed Oct 4, 2024
1 parent e2bf928 commit 78e28ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grpc/client/interceptors/logger.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule GRPC.Client.Interceptors.Logger do
end

@impl GRPC.Client.Interceptor
def call(stream = %{grpc_type: grpc_type}, req, next, opts) do
def call(%{grpc_type: grpc_type} = stream, req, next, opts) do
{time, result} = :timer.tc(next, [stream, req])
level = Keyword.fetch!(opts, :level)

Expand Down

0 comments on commit 78e28ab

Please sign in to comment.