Fixing a typo in /pending service provided by API.