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 34ad292 commit 901c13f
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 @@ -101,7 +101,7 @@ defmodule Mongo.Messages do
Decodes a reply message from the response
"""
def decode_reply(<<flags::int32(), cursor_id::int64(), from::int32(), num::int32(), rest::binary>>) do
op_reply(flags: flags, cursor_id: cursor_id, from: from, num: num, docs: @decode_module.documents(rest))
op_reply(flags: flags, cursor_id: cursor_id, from: from, num: num, docs: @decoder_module.documents(rest))
end

def decode_msg(<<flags::int32(), rest::binary>>) do
Expand Down

0 comments on commit 901c13f

Please sign in to comment.