Skip to content

Commit 307f52d

Browse files
committed
fix: dependbot alert
1 parent 98d3541 commit 307f52d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discovery/describers/repository_dependabot_alert.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ func GetRepositoryDependabotAlerts(ctx context.Context, githubClient model.GitHu
6262
ID: id,
6363
Name: strconv.Itoa(alert.GetNumber()),
6464
Description: model.RepoAlertDependabotDescription{
65-
RepositoryID: alert.GetRepository().GetID(),
65+
RepositoryID: *alert.GetRepository().ID,
66+
RepoFullName: *alert.GetRepository().FullName,
6667
AlertNumber: alert.GetNumber(),
6768
State: alert.GetState(),
6869
DependencyPackageEcosystem: alert.GetDependency().GetPackage().GetEcosystem(),

0 commit comments

Comments
 (0)