Skip to content

Commit

Permalink
Rename local-mongodb to enable app replacements (#5734)
Browse files Browse the repository at this point in the history
* Rename local-mongodb to enable app replacements

* Reverted rename of local-mongodb-uri
  • Loading branch information
kraenhansen authored Apr 17, 2023
1 parent 9bdd7cc commit bb74833
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

exports = async function (loginPayload) {
// Get a handle for the app.users collection
const users = context.services.get("local-mongodb").db("app").collection("users");
const users = context.services.get("mongodb").db("app").collection("users");

// Parse out custom data from the FunctionCredential

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "local-mongodb",
"name": "mongodb",
"type": "mongodb",
"config": {},
"secret_config": {
"uri": "local-mongodb-uri"
}
},
"version": 1
}

0 comments on commit bb74833

Please sign in to comment.