feat(plugins): Optimize badge fetching by using lightweight JSON instead of GraphQL

This commit is contained in:
Jokob @NetAlertX
2026-03-27 07:30:13 +00:00
parent 7305fd78e3
commit 48454f6f2f
3 changed files with 38 additions and 44 deletions

View File

@@ -16,6 +16,7 @@ from const import (
sql_plugins_events,
sql_plugins_history,
sql_plugins_objects,
sql_plugins_stats,
sql_language_strings,
sql_notifications_all,
sql_online_history,
@@ -66,6 +67,7 @@ def update_api(
["plugins_events", sql_plugins_events],
["plugins_history", sql_plugins_history],
["plugins_objects", sql_plugins_objects],
["plugins_stats", sql_plugins_stats],
["plugins_language_strings", sql_language_strings],
["notifications", sql_notifications_all],
["online_history", sql_online_history],