fix: EmailManager route calls get_email_users not get_users
Unit Tests / test (push) Successful in 7m27s

The method is named get_email_users in EmailManager; the route was
calling the non-existent get_users, causing an AttributeError on every
GET /api/email/users request.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-08 10:12:24 -04:00
parent bd71466a87
commit 76bbc2b67a
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ def get_email_users():
"""Get email users."""
try:
from app import email_manager
users = email_manager.get_users()
users = email_manager.get_email_users()
return jsonify(users)
except Exception as e:
logger.error(f"Error getting email users: {e}")