Skip to content

Commit

Permalink
Add missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
cribbles committed May 2, 2023
1 parent 60eccef commit ae959d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/record_manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 107,8 @@ defmodule BlueskyEx.Client.RecordManager do
%{"actor" => session.did}
end

@spec generate_fn(Function.t(), Session.t(), Keyword.t()) :: any()
defp generate_fn(generator, _session, _opts) when is_nil(generator), do: nil

defp generate_fn(generator, session, opts) when is_function(generator, 2),
do: generator.(session, opts)
end

0 comments on commit ae959d0

Please sign in to comment.