Skip to content

Commit 432f997

Browse files
author
Jeny Sadadia
committed
kcidev/libs/dashboard: use tree endpoint instead of tree-fast
Use `/tree` endpoint for fetching tree list as `/tree-fast` is not returning more than one entry for the same `git_url`, while /tree allows that. Signed-off-by: Jeny Sadadia <[email protected]>
1 parent 9e76c35 commit 432f997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kcidev/libs/dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def dashboard_fetch_tree_list(origin, use_json, days=7):
218218
"interval_in_days": days,
219219
}
220220
logging.info(f"Fetching tree list for origin: {origin}")
221-
return dashboard_api_fetch("tree-fast", params, use_json)
221+
return dashboard_api_fetch("tree", params, use_json)
222222

223223

224224
def dashboard_fetch_hardware_list(origin, use_json):

0 commit comments

Comments
 (0)