Skip to content

Commit 5834b86

Browse files
n-thumanngreenbonebot
authored andcommitted
Change: Fix typo
1 parent d09e8db commit 5834b86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pontos/nvd/source/api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class SourceApi(NVDApi):
4545
from pontos.nvd.source import SourceApi
4646
4747
async with SourceApi() as api:
48-
async for source in api.source():
48+
async for source in api.sources():
4949
print(source)
5050
"""
5151

@@ -115,7 +115,7 @@ def sources(
115115
from pontos.nvd.source import SourceApi
116116
117117
async with SourceApi() as api:
118-
async for source in api.source(source_identifier="cve@mitre.org"):
118+
async for source in api.sources(source_identifier="cve@mitre.org"):
119119
print(source)
120120
"""
121121
params: Params = {}

0 commit comments

Comments
 (0)