Skip to content

Commit

Permalink
Fix usage of 'auto_remove' instead of 'auto_delete'
Browse files Browse the repository at this point in the history
  • Loading branch information
gverm committed Jan 31, 2024
1 parent f9fc6f3 commit 96d34ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ requires = ["setuptools>=59.6.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "amqpstorm_flask"
version = "0.1.3"
name = "amqpstorm-flask"
version = "0.1.4"
description = "amqpstorm library for Flask"
readme = "README.md"
authors = [{ name = "Inuits", email = "[email protected]" }]
Expand Down
2 changes: 1 addition & 1 deletion src/amqpstorm_flask/RabbitMQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def new_consumer():
exchange_type=exchange_type,
durable=self.exchange_params.durable,
passive=self.exchange_params.passive,
auto_delete=self.exchange_params.auto_remove,
auto_delete=self.exchange_params.auto_delete,
)
self.channel.queue.declare(
queue=queue_name,
Expand Down

0 comments on commit 96d34ab

Please sign in to comment.