feat: update le docs logic

This commit is contained in:
2026-06-09 20:14:27 +03:00
parent 14df805209
commit cc75f61e76
23 changed files with 420 additions and 262 deletions

View File

@@ -22,7 +22,7 @@ from src.application.commands import (
SetPurchaseRequestQuoteCommand,
UpdateOrganizationCommand,
UpdatePurchaseRequestStatusCommand,
UploadOrganizationDocumentCommand,
PutOrganizationDocumentCommand,
)
from src.application.contracts import IHashService, IJwtService, ILogger
from src.infrastructure.config import settings
@@ -115,11 +115,11 @@ def get_get_organization_secret_keys_command(
return GetOrganizationSecretKeysCommand(uow, logger)
def get_upload_organization_document_command(
def get_put_organization_document_command(
uow: IUnitOfWork = Depends(get_unit_of_work),
logger: ILogger = Depends(get_logger),
) -> UploadOrganizationDocumentCommand:
return UploadOrganizationDocumentCommand(uow, get_s3_documents_service(), logger)
) -> PutOrganizationDocumentCommand:
return PutOrganizationDocumentCommand(uow, get_s3_documents_service(), logger)
def get_list_organizations_command(