добавить категорию расходные материалы

This commit is contained in:
Kseninia Mikhaylova 2024-06-03 16:20:37 +03:00
parent 7bdf4c628d
commit e6b95be013
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ class ElementViewSet(viewsets.ModelViewSet):
try:
categories = get_depth_cat("87e91e07-7e10-11ee-ab5a-a47a2bd811cb")
categories.extend(get_depth_cat("20e1e6f6-a575-11ee-ab60-ec3c37e2e642"))
categories.extend(get_depth_cat('1f89290b-ffaf-11ed-ab4e-e3e667c628bd'))
return Response(categories)
except Exception as e:
logger.error(e)