Skip to content

Commit

Permalink
fix(auth): Correct database uri
Browse files Browse the repository at this point in the history
  • Loading branch information
HagerDakroury committed Jul 14, 2021
1 parent b5fba7b commit a95bfb9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions auth/src/models/connection.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import mongoose from "mongoose";

const uri =
"mongodb+srv://hager:[email protected]/contactsapp?retryWrites=true&w=majority";

const uri = "mongodb://auth-db-service:27017/auth-test";
const connectDb = () => mongoose.connect(uri);

export { connectDb };

0 comments on commit a95bfb9

Please sign in to comment.