Skip to content

Commit f5ff6d8

Browse files
committed
Fix a typo in AdvisoryPackageCommitPatchDetails
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent f0cbcbc commit f5ff6d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vulnerabilities/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,13 +977,13 @@ def get_queryset(self):
977977
Prefetch(
978978
"introduced_by_package_commit_patches",
979979
queryset=models.PackageCommitPatch.objects.only(
980-
"commit_hash", "vcs_url", "patch_url", "commit_url"
980+
"id", "commit_hash", "vcs_url"
981981
),
982982
),
983983
Prefetch(
984984
"fixed_by_package_commit_patches",
985985
queryset=models.PackageCommitPatch.objects.only(
986-
"commit_hash", "vcs_url", "patch_url", "commit_url"
986+
"id", "commit_hash", "vcs_url"
987987
),
988988
),
989989
),

0 commit comments

Comments
 (0)