瀏覽代碼

[fix] integration broker patch

version-14
Nabin Hait 8 年之前
父節點
當前提交
cb54017f4f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/patches/v7_1/setup_integration_services.py

+ 1
- 1
frappe/patches/v7_1/setup_integration_services.py 查看文件

@@ -87,7 +87,7 @@ def get_parameters(app_details):
return {"settings": frappe.get_doc(app_details["doctype"])}

elif app_details["service_name"] == "Dropbox Integration":
doc = frappe.get_doc(app_details["doctype"])
doc = frappe.db.get_value(app_details["doctype"], None, ["dropbox_access_key", "dropbox_access_secret", "upload_backups_to_dropbox"])

if not (frappe.conf.dropbox_access_key and frappe.conf.dropbox_secret_key):
raise DataError


Loading…
取消
儲存