From 52946dd370c4666a9b06937b785c73ca30fd3752 Mon Sep 17 00:00:00 2001 From: Keshav Priyadarshi Date: Wed, 15 Mar 2023 20:21:35 +0530 Subject: [PATCH] Fix function name in recursive path resolver Signed-off-by: Keshav Priyadarshi --- vulntotal/datasources/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulntotal/datasources/gitlab.py b/vulntotal/datasources/gitlab.py index 5818156de..28fc60109 100644 --- a/vulntotal/datasources/gitlab.py +++ b/vulntotal/datasources/gitlab.py @@ -145,7 +145,7 @@ def get_casesensitive_slug(path, package_slug): # If the namespace/subfolder contains multiple packages, then progressive transverse through folders tree if package_slug.lower().startswith(slug_flatpath.lower()): - return get_gitlab_style_slug(slug_flatpath, package_slug) + return get_casesensitive_slug(slug_flatpath, package_slug) payload[0]["variables"]["nextPageCursor"] = paginated_tree["pageInfo"]["endCursor"] hasnext = paginated_tree["pageInfo"]["hasNextPage"]