Skip to content

Commit

Permalink
Use to_string on type
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Nov 4, 2024
1 parent 9fb5228 commit c74924d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lexdee/observer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ defmodule Lexdee.Observer do

client = Keyword.fetch!(opts, :client)
resource = Keyword.get(opts, :resource)
type = Keyword.get(opts, :type, "operation")
type = to_string(Keyword.get(opts, :type, "operation"))

%{adapter: {_, _, options}, pre: middlewares} = client

Expand Down

0 comments on commit c74924d

Please sign in to comment.