Skip to content

Commit

Permalink
Explicitely convert Person to json before sending it to fedora-messaging
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
  • Loading branch information
abompard committed Mar 28, 2024
1 parent 3bc6978 commit bc18ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tahrir_api/dbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ def _adjust_ranks(self, person, old_rank):
if self.notification_callback:
self.notification_callback(
topic="person.rank.advance", msg=dict(
person=person, old_rank=old_rank
person=person.__json__(), old_rank=old_rank
)
)

Expand Down

0 comments on commit bc18ba9

Please sign in to comment.