Skip to content

Commit ae64b84

Browse files
committed
first proper release
1 parent ad73937 commit ae64b84

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

monitor/api/server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ async def get_available_metrics():
132132
}
133133

134134
@app.get("/api/features")
135-
async def get_features():
136-
"""Get available features (cached)."""
137-
from monitor.utils import get_features
138-
return get_features()
135+
async def get_features_endpoint():
136+
"""Get available features (always fresh to detect newly installed packages)."""
137+
from monitor.utils.features import detect_features
138+
return detect_features(force=True)
139139

140140
@app.post("/api/update/check")
141141
async def check_update():

0 commit comments

Comments
 (0)