Merge branch 'develop'

This commit is contained in:
2026-06-10 19:27:05 +03:00
9 changed files with 120 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ from src.application.commands import (
UpdatePurchaseRequestCommand,
UpdatePurchaseRequestStatusCommand,
PutOrganizationDocumentCommand,
SetPasswordCommand,
)
from src.application.contracts import IHashService, IJwtService, ILogger
from src.infrastructure.config import settings
@@ -207,3 +208,10 @@ def get_set_purchase_request_quote_command(
logger: ILogger = Depends(get_logger),
) -> SetPurchaseRequestQuoteCommand:
return SetPurchaseRequestQuoteCommand(uow, logger)
def get_set_password_command(
uow: IUnitOfWork = Depends(get_unit_of_work),
hash_service: IHashService = Depends(get_hash_service),
logger: ILogger = Depends(get_logger),
) -> SetPasswordCommand:
return SetPasswordCommand(uow, hash_service, logger)