From 5502ecea1a156d39c8f043ab29be7f3e6aa4af66 Mon Sep 17 00:00:00 2001 From: venkataakhil Date: Thu, 13 Jul 2023 13:29:15 +0530 Subject: [PATCH] Merge json allow guest --- smart_service/apis/publish_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_service/apis/publish_api.py b/smart_service/apis/publish_api.py index eb7ee2f..860e66c 100644 --- a/smart_service/apis/publish_api.py +++ b/smart_service/apis/publish_api.py @@ -766,7 +766,7 @@ def old_merge_json_files(old_json_path, new_json_path, out_file_path): except Exception as e: return False, frappe.get_traceback() - +@frappe.whitelist(allow_guest=1) def merge_json_files(old_json_path, new_json_path, out_file_path): try: final_data = {"JSON": []}