feedhenry / fh-db

Apache License 2.0
1 stars 16 forks source link

🐛 RHMAP-15177 Fix for running locally when using v7 of fh-mbaas-api #27

Closed david-martin closed 7 years ago

david-martin commented 7 years ago

The fh.sync API expects to be connecting directly to mongodb. To support this, a change in fh-mbaas-api [1] sets FH_MONGODB_CONN_URL appropriately if FH_USE_LOCAL_DB is set. Therefore, there should be no special behaviour here in fh-db, and it should just use the value of FH_MONGODB_CONN_URL

[1] https://github.com/feedhenry/fh-mbaas-api/pull/131