Skip to content

Commit 920784a

Browse files
sleipnirpolvalente
andauthored
Update lib/grpc/stream.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
1 parent f1f11c5 commit 920784a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grpc/stream.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ defmodule GRPC.Stream do
186186
%Materializer{} = from,
187187
opts \\ []
188188
) do
189-
unless Keyword.get(flow_opts, :unary, true) do
189+
if not Keyword.get(flow_opts, :unary, true) do
190190
raise ArgumentError, "run_with/3 is not supported for unary streams"
191191
end
192192

0 commit comments

Comments
 (0)