Skip to content

Commit fdc95e0

Browse files
committed
fix: replace unused scanRec with blank identifier
1 parent 79a1cbb commit fdc95e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/api/scan_results_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ func apiScanParsedResults(c *gin.Context) {
17771777
c.JSON(http.StatusBadRequest, gin.H{"error": "scan id required"})
17781778
return
17791779
}
1780-
scanRec, err := db.GetScan(scanID)
1780+
_, err := db.GetScan(scanID)
17811781
if err != nil {
17821782
c.JSON(http.StatusNotFound, gin.H{"error": err.Error()})
17831783
return

0 commit comments

Comments
 (0)