Fix text result api call