Merge branch 'develop'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user