Fix bad endpoint path

The latter two types have routes that are singular, not plural
Merge pull request #23 from sixofhearts/patch-1

Fix bad endpoint path