Skip to content

Commit

Permalink
#272 mongodb_uri to db_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Antranduc committed Aug 27, 2020
1 parent 9a8ba3f commit fada7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
app.config['SENDGRID_DEFAULT_FROM'] = '[email protected]'
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER

MONGO_URL = os.environ.get('MONGODB_URI')
MONGO_URL = os.environ.get('DB_URI')
app.config["MONGO_URI"] = MONGO_URL
mongo = PyMongo(app)
db = mongo.db
Expand Down

0 comments on commit fada7d4

Please sign in to comment.