Skip to content

Commit

Permalink
Fix: rename message vars, avoid overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Dumchenko committed Sep 20, 2024
1 parent c283183 commit 006ca45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faststream/_internal/broker/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,13 +368,13 @@ async def request(
**kwargs,
)

msg: Any = await process_msg(
message: Any = await process_msg(
msg=published_msg,
middlewares=self._middlewares,
parser=producer._parser,
decoder=producer._decoder,
)
return msg
return message

@abstractmethod
async def ping(self, timeout: Optional[float]) -> bool:
Expand Down

0 comments on commit 006ca45

Please sign in to comment.