Skip to content

Commit

Permalink
fix setting outbox meta
Browse files Browse the repository at this point in the history
  • Loading branch information
metallerok committed May 7, 2024
1 parent 9caa6bb commit 3ab6c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = 'message_bus'
version = "1.7.0"
version = "1.8.0"
requires-python = '>=3.6'
dependencies = [
"dataclasses-serialization==1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/message_bus/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def register_outbox_message(
)

if hasattr(model, "meta"):
setattr(model, "meta", meta)
setattr(outbox_message, "meta", meta)

outbox_repo.add(outbox_message)

Expand Down

0 comments on commit 3ab6c8b

Please sign in to comment.