Fix typo on endpoint_key warning