Skip to content

Commit e42caca

Browse files
committed
misc: minor modifications for docs and messages to user
1 parent 60e899e commit e42caca

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.env.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""META API credentials"""
22

33
# Meta's Graph API version
4-
META_API_VERSION="v21.0"
4+
META_API_VERSION="v22.0"
55

66
# Meta's identifier for the Twiga app
77
META_APP_ID=
@@ -46,6 +46,7 @@ ONBOARDING_FLOW_ID=
4646
SUBJECTS_CLASSES_FLOW_ID=
4747
FLOW_TOKEN_ENCRYPTION_KEY=
4848

49+
# For when ENVIRONMENT is set to "staging" or "production"
4950
# Redis for rate limiting
5051
REDIS_URL=redis://localhost:6379
5152

app/assets/strings/english.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ flows:
3636

3737
rate_limit:
3838
global_message_limit: "🚫 Twiga is currently unavailable. Please come back later."
39-
user_message_limit: "🚫 You have reached your daily messaging limit, so Twiga 🦒 is quite sleepy from all of today's texting 🥱. Come back in later!"
39+
user_message_limit: "🚫 You have reached your daily messaging limit, so Twiga 🦒 is quite sleepy from all of today's texting 🥱. Come back later!"

app/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Settings(BaseSettings):
4040
database_url: SecretStr
4141

4242
# Business environment
43-
environment: Environment = Environment.DEVELOPMENT
43+
environment: Environment = Environment.LOCAL
4444
debug: bool = True
4545

4646
@property

0 commit comments

Comments
 (0)