Skip to content

Commit d809940

Browse files
committed
update import in github.py
1 parent 4a6734b commit d809940

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vulntotal/datasources/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from dotenv import load_dotenv
1414
from packageurl import PackageURL
1515

16-
from vulnerabilities import utils
16+
from fetchcode.package_versions import github_response
1717
from vulntotal.validator import DataSource
1818
from vulntotal.validator import InvalidCVEError
1919
from vulntotal.validator import VendorData
@@ -35,7 +35,7 @@ def fetch_github(self, graphql_query):
3535
GH_TOKEN="your-github-token"
3636
"""
3737
load_dotenv()
38-
return utils.fetch_github_graphql_query(graphql_query)
38+
return github_response(graphql_query)
3939

4040
def datasource_advisory(self, purl) -> Iterable[VendorData]:
4141
end_cursor = ""

0 commit comments

Comments
 (0)