docs: Update API Docs (#3856)

This commit is contained in:
Michael Genson
2024-07-08 05:01:31 -05:00
committed by GitHub
parent ca1ab33291
commit 17f9eef551
8 changed files with 18 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ router = APIRouter(prefix="/register")
@controller(router)
class RegistrationController(BasePublicController):
event_bus: EventBusService = Depends(EventBusService.create)
event_bus: EventBusService = Depends(EventBusService.as_dependency)
@router.post("", response_model=UserOut, status_code=status.HTTP_201_CREATED)
def register_new_user(self, data: CreateUserRegistration):