diff --git a/india_compliance/gst_india/api_classes/returns.py b/india_compliance/gst_india/api_classes/returns.py index 6f6f63145..3a6f511c5 100644 --- a/india_compliance/gst_india/api_classes/returns.py +++ b/india_compliance/gst_india/api_classes/returns.py @@ -221,7 +221,7 @@ def setup(self, company_gstin): "gstin": self.company_gstin, "state-cd": self.company_gstin[:2], "username": self.username, - "ip-usr": frappe.cache.hget("public_ip", "public_ip", get_public_ip), + "ip-usr": frappe.cache().hget("public_ip", "public_ip", get_public_ip), "txn": self.generate_request_id(length=32), } )