Skip to content

Commit 37b1d1c

Browse files
fix example
1 parent 3638e05 commit 37b1d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async function queryData(dgraphClient) {
115115
}
116116

117117
async function main() {
118-
const dgraphClient = dgraph.open()
118+
const dgraphClient = dgraph.open("dgraph://groot:password@localhost:8090")
119119
await dropAll(dgraphClient)
120120
await setSchema(dgraphClient)
121121
await createData(dgraphClient)

0 commit comments

Comments
 (0)