mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
add more debug to get e2e tests working
This commit is contained in:
@@ -54,7 +54,7 @@ from app.user.users_schema import (
|
||||
post_verify_code_schema,
|
||||
post_verify_webauthn_schema,
|
||||
)
|
||||
from app.utils import hilite, url_with_token, utc_now
|
||||
from app.utils import debug_not_production, hilite, url_with_token, utc_now
|
||||
from notifications_utils.recipients import is_us_phone_number, use_numeric_sender
|
||||
|
||||
user_blueprint = Blueprint("user", __name__)
|
||||
@@ -589,11 +589,6 @@ def get_user_login_gov_user():
|
||||
return jsonify(data=result)
|
||||
|
||||
|
||||
def debug_not_production(msg):
|
||||
if os.getenv("NOTIFY_ENVIRONMENT") not in ["production"]:
|
||||
current_app.logger.info(msg)
|
||||
|
||||
|
||||
@user_blueprint.route("/email", methods=["POST"])
|
||||
def fetch_user_by_email():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user