Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cschiewek committed Mar 14, 2024
1 parent 26b5557 commit 2148001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/absinthe/phase/document/execution/resolution.ex
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ defmodule Absinthe.Phase.Document.Execution.Resolution do

defp reduce_resolution(%{middleware: [middleware | remaining_middleware]} = res) do
start_id = :erlang.unique_integer()
metadata = %{id: start_id, telemetry_span_context: start_id, middelware: middleware, resolution: res}
metadata = %{id: start_id, telemetry_span_context: start_id, middleware: middleware, resolution: res}
:telemetry.execute(@middleware_start, %{system_time: System.system_time()}, metadata)

res =
Expand All @@ -245,7 +245,7 @@ defmodule Absinthe.Phase.Document.Execution.Resolution do
end

stop_id = :erlang.unique_integer()
metadata = %{id: stop_id, telemetry_span_context: stop_id, middelware: middleware, resolution: res}
metadata = %{id: stop_id, telemetry_span_context: stop_id, middleware: middleware, resolution: res}
:telemetry.execute(@middleware_stop, %{system_time: System.system_time()}, metadata)

res
Expand Down

0 comments on commit 2148001

Please sign in to comment.