Skip to content

Commit 955ecb7

Browse files
committed
improvement: prefix socket assigns with ash_
1 parent 39dc137 commit 955ecb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ash_typescript/rpc/pipeline.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ defmodule AshTypescript.Rpc.Pipeline do
3131
Ash.PlugHelpers.get_context(conn_or_socket) || %{}}
3232

3333
%Phoenix.Socket{} ->
34-
{conn_or_socket.assigns[:actor], conn_or_socket.assigns[:tenant],
35-
conn_or_socket.assigns[:context] || %{}}
34+
{conn_or_socket.assigns[:ash_actor], conn_or_socket.assigns[:ash_tenant],
35+
conn_or_socket.assigns[:ash_context] || %{}}
3636
end
3737

3838
with {:ok, {resource, action}} <- discover_action(otp_app, normalized_params),

0 commit comments

Comments
 (0)