From a1aec86dd94fe930795030c2bc36ed26dc3c3845 Mon Sep 17 00:00:00 2001 From: Michael Maier Date: Tue, 19 Sep 2023 12:49:02 +0200 Subject: [PATCH] Update lib/mongo/messages.ex Co-authored-by: Rodolfo Carvalho --- lib/mongo/messages.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/messages.ex b/lib/mongo/messages.ex index 9a2f1b05..b5ed10df 100644 --- a/lib/mongo/messages.ex +++ b/lib/mongo/messages.ex @@ -120,7 +120,7 @@ defmodule Mongo.Messages do <> = payload <> = payload - with {doc, ""} <- @decode_module.document(doc) do + with {doc, ""} <- @decoder_module.document(doc) do decode_sections(rest, [section(payload_type: 0, payload: payload(doc: doc)) | acc]) end end