Skip to content

Commit 1abc138

Browse files
author
Joshua Goldstein
committed
fix port numbers in examples
1 parent f76d0d5 commit 1abc138

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/simple/index-async-await.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const dgraph = require("dgraph-js-http");
22

33
// Create a client stub.
44
function newClientStub() {
5-
return new dgraph.DgraphClientStub("http://localhost:8080");
5+
return new dgraph.DgraphClientStub("http://localhost:8180");
66
}
77

88
// Create a client.

examples/simple/index-promise.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const dgraph = require("dgraph-js-http");
22

33
// Create a client stub.
44
function newClientStub() {
5-
return new dgraph.DgraphClientStub("http://localhost:8080");
5+
return new dgraph.DgraphClientStub("http://localhost:8180");
66
}
77

88
// Create a client.

0 commit comments

Comments
 (0)