mirror of https://github.com/celery/kombu.git
Fixed typo message_data -> body
This commit is contained in:
parent
46bd38757b
commit
c0b540af69
|
@ -191,7 +191,7 @@ class Exchange(MaybeChannelBound):
|
|||
"""
|
||||
properties = properties or {}
|
||||
properties["delivery_mode"] = delivery_mode or self.delivery_mode
|
||||
return self.channel.prepare_message(message_data,
|
||||
return self.channel.prepare_message(body,
|
||||
properties=properties,
|
||||
priority=priority,
|
||||
content_type=content_type,
|
||||
|
|
Loading…
Reference in New Issue