Corrected typo in exchange name. (#969)

This commit is contained in:
vikvns 2018-12-20 18:15:40 +05:30 committed by Omer Katz
parent 1ad6cbd35c
commit da7b77e591
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ to the ``news`` exchange:
with producers[connection].acquire(block=True) as producer:
producer.publish(
article,
exchange=new_exchange,
exchange=news_exchange,
routing_key='domestic',
declare=[news_exchange],
serializer='json',