Skip to content

Commit 0ab5dc2

Browse files
committed
Merge tag '0.0.9' into develop
0.0.9
2 parents 9c08fc5 + 88a37ef commit 0ab5dc2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "taskiq"
3-
version = "0.0.8"
3+
version = "0.0.9"
44
description = "Distributed task queue with full async support"
55
authors = ["Pavel Kirilin <[email protected]>"]
66
maintainers = ["Pavel Kirilin <[email protected]>"]

taskiq/formatters/json_formatter.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ def dumps(self, message: TaskiqMessage) -> BrokerMessage:
1616
task_id=message.task_id,
1717
task_name=message.task_name,
1818
message=message.json(),
19-
labels={
20-
"content_type": "application/json",
21-
},
19+
labels=message.labels,
2220
)
2321

2422
def loads(self, message: BrokerMessage) -> TaskiqMessage:

0 commit comments

Comments
 (0)