injecting the endpoint name makes no sense