feat: update environment variables to set DATA_ENV and DB_ENV to 'prod'
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m39s

This commit is contained in:
2026-07-31 15:59:19 -04:00
parent 95dee37b60
commit 0b89833c32
5 changed files with 11 additions and 7 deletions
+4 -4
View File
@@ -212,10 +212,10 @@ def create_test_digest_token():
def send_test_digest():
"""Trigger a digest email for a specific user by email address.
Only active when DB_ENV is not 'production'. Requires admin authentication.
Only active when DB_ENV is not 'prod'. Requires admin authentication.
Note: actual email delivery is skipped in e2e mode by email_sender.
"""
if os.environ.get('DB_ENV') == 'production':
if os.environ.get('DB_ENV') == 'prod':
return jsonify({'error': 'Not found', 'code': 'NOT_FOUND'}), 404
user_id = get_validated_user_id()
@@ -253,10 +253,10 @@ def send_test_digest():
def trigger_test_chore_expiry():
"""Trigger the chore expiry notification check for a specific user by email address.
Only active when DB_ENV is not 'production'. Requires admin authentication.
Only active when DB_ENV is not 'prod'. Requires admin authentication.
Note: actual push delivery requires VAPID keys to be configured.
"""
if os.environ.get('DB_ENV') == 'production':
if os.environ.get('DB_ENV') == 'prod':
return jsonify({'error': 'Not found', 'code': 'NOT_FOUND'}), 404
user_id = get_validated_user_id()