fix: check standard in patch when deleting web forms

This commit is contained in:
Jannat Patel
2024-12-01 12:32:44 +05:30
parent c471d39ba8
commit 7048b22df0
2 changed files with 1 additions and 2 deletions

View File

@@ -2,7 +2,6 @@ import frappe
def get_payment_gateway():
return frappe.db.get_single_value("LMS Settings", "payment_gateway")

View File

@@ -2,4 +2,4 @@ import frappe
def execute():
frappe.db.delete("Web Form", {"module": "LMS"})
frappe.db.delete("Web Form", {"module": "LMS", "is_standard": 1})