check-api
check-api copied to clipboard
CV2-6314: remove unneeded code related to sources_count field
Description
The cached field approach has already updated the value in ES, so I removed the other code to prevent hitting ES twice for the same field.
References: CV2-6314
How to test?
Please describe how to test the changes (manually and/or automatically).
Checklist
- [x] I have performed a self-review of my code and ensured that it is safe and runnable, that code coverage has not decreased, and that there are no new Code Climate issues. I have also followed Meedan's internal coding guidelines.