From d00504322d9685be9c547276db9ad0ef0b95835a Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 8 Apr 2022 05:26:10 +0000 Subject: [PATCH] add on api --- smart_service/apis/addon_api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/smart_service/apis/addon_api.py b/smart_service/apis/addon_api.py index 845f807..79fb452 100644 --- a/smart_service/apis/addon_api.py +++ b/smart_service/apis/addon_api.py @@ -114,7 +114,6 @@ def feedback(args, request): .format(current_db_name,frappe.db.get_value('App Users', {'user_id': request['UserID']}, ['name'])),as_dict = True) for i in api: - # if i['attachments'] != 0: i['attachment'] = frappe.db.get_list('File',fields=['file_name','file_url','attached_to_name','file_size'],filters={'attached_to_name':i['name']}) if i['status'] == 'Active': i['status'] = True