fix: github search update
This commit is contained in:
@@ -87,6 +87,7 @@ impl Worker {
|
|||||||
if VulnInformationDao::fetch_by_key(&mut tx, &req.key)
|
if VulnInformationDao::fetch_by_key(&mut tx, &req.key)
|
||||||
.await?
|
.await?
|
||||||
.is_none()
|
.is_none()
|
||||||
|
&& !req.cve.is_empty()
|
||||||
{
|
{
|
||||||
req.github_search = search_github_poc(&req.cve).await;
|
req.github_search = search_github_poc(&req.cve).await;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user