Skip to content

Commit

Permalink
Merge pull request #5 from enteryournamehere/patch-1
Browse files Browse the repository at this point in the history
fixed wrong method name in the documentation
  • Loading branch information
tuesd4y authored Sep 27, 2017
2 parents 1a7baba + b969e13 commit 1e15ec9
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 @@ -349,7 +349,7 @@ A lot of data, better see for yourself...
```js
TimeTableEntity = require("untis-api").Entities.TimeTableEntity;

w.getTimetable(new TimeTableEntity(1, 5), {
w.getCustomTimetable(new TimeTableEntity(1, 5), {
showSubstText: true,
showLsText: true,
klasseFields: ["name"],
Expand All @@ -358,7 +358,7 @@ w.getTimetable(new TimeTableEntity(1, 5), {
}).then(data => console.log(data));
```
#### Parameters
`getTimetable(tte, paramsObject)`
`getCustomTimetable(tte, paramsObject)`
* tte: a TimeTableEntity containing the person whose timetable you want to watch's id and personType
* paramsObject: a Object with all custom parameters as properties of this object with their respective value

Expand Down

0 comments on commit 1e15ec9

Please sign in to comment.