Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
urchinpro committed Sep 22, 2023
1 parent 99e6b06 commit 2046432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/researches/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def get_researches(request, last_used=False):
"treatment": r.is_treatment,
"is_hospital": r.is_hospital,
"is_form": r.is_form,
"is_case": r.is_case,
"is_application": r.is_application,
"stom": r.is_stom,
"need_vich_code": r.need_vich_code,
Expand Down Expand Up @@ -257,7 +258,6 @@ def get_researches(request, last_used=False):
result = {"researches": deps, "cnts": cnts}
else:
result = json.loads(result)

if hasattr(request, 'plain_response') and request.plain_response:
return result
return JsonResponse(result)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ beren = "0.7.1"
transliterate = "1.10.2"
imgkit = "1.2.3"
astm = {git = "https://github.com/moodpulse/python-astm.git", rev = "v0.6"}
psycopg2-binary = "^2.9.4"
#psycopg2-binary = "^2.9.4"
boto3 = "^1.26.157"
prompt-toolkit = "^3.0.36"
pdf2docx = "^0.5.6"
Expand Down

0 comments on commit 2046432

Please sign in to comment.