Skip to content

Commit 4bf7edb

Browse files
committed
Fixed typo from previous commit
1 parent d62b25d commit 4bf7edb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
if prefix == "NONE":
2222
prefix = ""
2323

24-
MONGO_URI = os.getenv("MONGO_URI") or os.getenv("CONECTION_URI")
24+
MONGO_URI = os.getenv("MONGO_URI") or os.getenv("CONNECTION_URI")
2525
if not MONGO_URI:
26-
print("No MONGO_URI config var found. Please enter your MongoDB connection URI in the configuration or .env file.")
26+
print("No CONNECTION_URI config var found. "
27+
"Please enter your MongoDB connection URI in the configuration or .env file.")
2728
exit(1)
2829

2930
app = Sanic(__name__)

0 commit comments

Comments
 (0)