Merge pull request #1547 from github/koesie10/fix-remote-query-run

Fix not being able to run variant analyses
This commit is contained in:
Koen Vlaswinkel
2022-09-28 13:35:53 +02:00
committed by GitHub

View File

@@ -361,9 +361,9 @@ async function runRemoteQueriesApiRequest(
try {
const octokit = await credentials.getOctokit();
const response: OctokitResponse<QueriesResponse, number> = await octokit.request(
'POST /repos/:controllerRepo/code-scanning/codeql/queries',
'POST /repositories/:controllerRepoId/code-scanning/codeql/queries',
{
controllerRepo: controllerRepo.fullName,
controllerRepoId: controllerRepo.id,
data
}
);