소스 검색

Merge pull request #1953 from jarsy/rest-error-fix

Fix issue: There is an error appear "ValueError: No JSON object could…
version-14
Rushabh Mehta 9 년 전
committed by GitHub
부모
커밋
d763435500
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      frappe/app.py

+ 2
- 0
frappe/app.py 파일 보기

@@ -55,6 +55,8 @@ def application(request):
response = frappe.handler.handle()

elif frappe.request.path.startswith("/api/"):
if frappe.local.form_dict.data is None:
frappe.local.form_dict.data = request.get_data()
response = frappe.api.handle()

elif frappe.request.path.startswith('/backups'):


불러오는 중...
취소
저장