diff --git a/src/sdlan_network.erl b/src/sdlan_network.erl index 4333543..7f2c794 100644 --- a/src/sdlan_network.erl +++ b/src/sdlan_network.erl @@ -156,7 +156,7 @@ disable_client(Pid, ClientId) when is_pid(Pid), is_binary(ClientId) -> gen_server:call(Pid, {disable_client, ClientId}). -spec exposed_service_changed(Pid :: pid(), ClientIds :: [binary()]) -> ok. -exposed_service_changed(Pid, ClientIds) when is_pid(Pid), is_binary(ClientIds) -> +exposed_service_changed(Pid, ClientIds) when is_pid(Pid), is_list(ClientIds) -> gen_server:call(Pid, {exposed_service_changed, ClientIds}). -spec get_channel(Pid :: pid(), ClientId :: binary()) -> error | {ok, ChannelPid :: pid()}.