Skip to content

Commit

Permalink
Update lib/mongo/messages.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Rodolfo Carvalho <[email protected]>
  • Loading branch information
zookzook and rhcarvalho authored Sep 19, 2023
1 parent 901c13f commit 9e6791d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/messages.ex
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ defmodule Mongo.Messages do

def decode_sequence(<<size::int32(), rest::binary>>) do
with {identifier, docs} <- cstring(rest) do
sequence(size: size, identifier: identifier, docs: @decode_module.documents(docs))
sequence(size: size, identifier: identifier, docs: @decoder_module.documents(docs))
end
end

Expand Down

0 comments on commit 9e6791d

Please sign in to comment.