fix: batch details meta

This commit is contained in:
Jannat Patel
2024-04-22 17:41:42 +05:30
parent 953eb74235
commit e3ad0baeb7

View File

@@ -55,8 +55,8 @@ def get_meta(app_path):
"keywords": "All Batches, Batches, Learn",
"link": "/batches",
}
if re.match(r"^/batches/details/.*$", app_path):
if re.match(r"^batches/details/.*$", app_path):
print(app_path, "app_path")
batch_name = app_path.split("/")[2]
batch = frappe.db.get_value(
"LMS Batch",