Skip to content

Commit

Permalink
Update README.md (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-nerox authored Dec 15, 2020
1 parent 939af5e commit 70033e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { MongoClient, Bson } from "https://deno.land/x/mongo@v1.0.0/mod.ts";

const client = new MongoClient();
client.connectWithUri("mongodb://localhost:27017");
client.connect("mongodb://localhost:27017");

// Defining schema interface
interface UserSchema {
Expand Down

0 comments on commit 70033e3

Please sign in to comment.