Skip to content

Commit

Permalink
Update README.md (#147)
Browse files Browse the repository at this point in the history
Small correction
  • Loading branch information
CodingByJerez authored Mar 23, 2021
1 parent 6a8d0ff commit 1e85681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ NEO4J_ENCRYPTION=ENCRYPTION_OFF
// index.js
import Neode from 'neode';

const instance = new Neode.fromEnv();
const instance = Neode.fromEnv();
```

#### Additional Driver Config
Expand Down Expand Up @@ -477,7 +477,7 @@ Promise.all([
.then(([adam, joe]) => {
adam.relateTo(joe, 'knows', {since: 2010})
.then(res => {
console.log(rel.from().get('name'), ' has known ', rel.to().get('name'), 'since', rel.get('since')); // Adam has known Joe since 2010
console.log(res.startNode().get('name'), ' has known ', res.endNode().get('name'), 'since', res.get('since')); // Adam has known Joe since 2010
});
});
```
Expand Down

0 comments on commit 1e85681

Please sign in to comment.