From 4a2ed43af975526cf5a1be6b5cb4d5b3f316ee4e Mon Sep 17 00:00:00 2001
From: Julia Wu <juliawu@google.com>
Date: Fri, 19 Jan 2024 16:10:37 -0800
Subject: [PATCH] s/prod/production for place summary gating logic (#3895)

Update the flask environment to gate place summary text on to be
"production" instead of "prod"
---
 server/routes/place/html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/routes/place/html.py b/server/routes/place/html.py
index 77c6125c87..eb5b95eaef 100644
--- a/server/routes/place/html.py
+++ b/server/routes/place/html.py
@@ -80,7 +80,7 @@ def place(place_dcid=None):
     if os.environ.get('FLASK_ENV') in ['autopush', 'local']:
       # In autopush or local, show all summaries
       show_summary = True
-    if os.environ.get('FLASK_ENV') in ['staging', 'prod']:
+    if os.environ.get('FLASK_ENV') in ['staging', 'production']:
       # In staging or prod, only show summaries for places in allow list
       place_allow_list = current_app.config['PLACE_SUMMARY_ALLOW_LIST'] or []
       show_summary = place_dcid in place_allow_list