Fix typo: endpoind -> endpoint