We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 110d930 + 2efff80 commit 7b7413bCopy full SHA for 7b7413b
1 file changed
extensions/ql-vscode/src/remote-queries/run-remote-query.ts
@@ -361,9 +361,9 @@ async function runRemoteQueriesApiRequest(
361
try {
362
const octokit = await credentials.getOctokit();
363
const response: OctokitResponse<QueriesResponse, number> = await octokit.request(
364
- 'POST /repos/:controllerRepo/code-scanning/codeql/queries',
+ 'POST /repositories/:controllerRepoId/code-scanning/codeql/queries',
365
{
366
- controllerRepo: controllerRepo.fullName,
+ controllerRepoId: controllerRepo.id,
367
data
368
}
369
);
0 commit comments