Skip to content

Commit

Permalink
chore: make credo happy
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Nov 30, 2023
1 parent eb4aa30 commit 2bf5c3a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/ash_admin/actor_plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ defmodule AshAdmin.ActorPlug do
end

def actor_assigns(socket, session) do
apply(@plug, :actor_assigns, [socket, session])
args = [socket, session]
apply(@plug, :actor_assigns, args)
end

def set_actor_session(conn) do
apply(@plug, :set_actor_session, [conn])
args = [conn]
apply(@plug, :set_actor_session, args)
end
end

0 comments on commit 2bf5c3a

Please sign in to comment.