mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-06 19:48:15 +00:00
d5e30592f3
When lazy load categories is enabled, the list of categories does not have to fetched from the "site.json" endpoint because it is already returned by "search.json". This commit reverts commits 5056502 and 3e54697 because iterating over all pages of categories is not really necessary.