Pass the server into the endpoint
Merge pull request #1 from rmccue/patch-1

Pass the server into the endpoint