fix: return 1 or 0 instead of boolean for is_fc_site boot data (#31753)

This commit is contained in:
Suhail 2025-03-17 11:53:29 +05:30 committed by GitHub
parent ac0def40c2
commit 666f8da3dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -188,7 +188,7 @@ def get_boot_data():
},
"assets_json": get_assets_json(),
"sitename": frappe.local.site,
"is_fc_site": is_fc_site(),
"is_fc_site": 1 if is_fc_site() else 0,
}