Skip to content

Commit

Permalink
Check by apikey
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharykeeping committed Nov 3, 2023
1 parent 9240f64 commit 8b29df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/functions/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ exports.getScanDetails = async (runId) => {
let filter;

if (scan.scanResultVersion === 2) {
filter = `PartitionKey eq '${scan.partitionKey}-${slug(scan.url)}'`;
filter = `PartitionKey eq '${scan.apiKey}-${slug(scan.url)}'`;
} else {
filter = odata`PartitionKey eq ${scan.partitionKey} and src ge ${scan.url} and src le ${incrementString(scan.url)}`;
}
Expand Down

0 comments on commit 8b29df2

Please sign in to comment.