diff --git a/backend/app.py b/backend/app.py index 3043ade..c615c31 100644 --- a/backend/app.py +++ b/backend/app.py @@ -490,6 +490,11 @@ def bb_sync_info(account_id): } +def account_sync_current_on_all_regions(account_id): + sync = bb_sync_info(account_id) + return sync.get("status") == "current", sync + + def bb_payload(account_id, username): sync = bb_sync_info(account_id) return {