get pending request bug fixing for get friends api