Skip to content

Commit

Permalink
fix broken spawn sdk in main
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdarruda committed May 11, 2023
1 parent 346ea53 commit 66e4b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spawn_sdk/spawn_sdk/lib/system/spawn_system.ex
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ defmodule SpawnSdk.System.SpawnSystem do
end

defp do_call(:host_call, actor_instance, entity_state, invocation, ctx) do
case call_instance(actor_instance, invocation.command, invocation.payload, ctx) do
case call_instance(actor_instance, invocation.command_name, invocation.payload, ctx) do
{:reply, %SpawnSdk.Value{} = decoded_value} ->
do_after_call_instance(decoded_value, entity_state, invocation)

Expand Down

0 comments on commit 66e4b4a

Please sign in to comment.