Fixed the end of example one in the endpoint tutorial