fix: scope ZIP schema validation errors to integrated documents
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m38s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 2m53s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Failing after 2m21s
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m38s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 2m53s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Failing after 2m21s
This commit is contained in:
@@ -153,7 +153,11 @@ def _upload_view(descriptor: ParserSourceDescriptor):
|
||||
409: "Загрузка уже выполняется",
|
||||
413: "Файл превышает лимит",
|
||||
415: "Неподдерживаемый тип файла",
|
||||
422: "Некорректный архив, листы, идентификаторы или вложения",
|
||||
422: (
|
||||
"Некорректный архив, листы, идентификаторы или вложения"
|
||||
if descriptor.key == "integrated_structure_documents"
|
||||
else "Неверные листы, идентификаторы или вложения"
|
||||
),
|
||||
},
|
||||
)
|
||||
def post(self, request):
|
||||
|
||||
Reference in New Issue
Block a user