mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-20 05:23:34 -07:00
docs: Update API Docs (#3856)
This commit is contained in:
parent
ca1ab33291
commit
17f9eef551
8 changed files with 18 additions and 17 deletions
|
@ -131,7 +131,7 @@ class BaseCrudController(BaseUserController):
|
|||
Base class for all CRUD controllers to facilitate common CRUD functions.
|
||||
"""
|
||||
|
||||
event_bus: EventBusService = Depends(EventBusService.create)
|
||||
event_bus: EventBusService = Depends(EventBusService.as_dependency)
|
||||
|
||||
def publish_event(self, event_type: EventTypes, document_data: EventDocumentDataBase, message: str = "") -> None:
|
||||
self.event_bus.dispatch(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue