minor typo (endoint => endpoint)
Merge pull request #154 from marks/patch-2

minor typo (endoint => endpoint)