We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d0d567 commit 3bf0538Copy full SHA for 3bf0538
src/allocation/service_layer/messagebus.py
@@ -60,7 +60,10 @@ def handle_command(
60
61
62
EVENT_HANDLERS = {
63
- events.Allocated: [handlers.publish_allocated_event],
+ events.Allocated: [
64
+ handlers.publish_allocated_event,
65
+ handlers.add_allocation_to_read_model
66
+ ],
67
events.OutOfStock: [handlers.send_out_of_stock_notification],
68
} # type: Dict[Type[events.Event], List[Callable]]
69
0 commit comments