Skip to content

Commit

Permalink
example in README fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pintux committed Jul 28, 2016
1 parent 03646e7 commit 3a13f4a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ const opendata = require('cagliari-opendata');
const traffic = opendata.traffic;

traffic.getStations()
.then(stations => {
if(!err){
console.log(stations);
}
.then(stations => {
console.log(stations);
});
```

Expand Down

0 comments on commit 3a13f4a

Please sign in to comment.