Skip to content

Commit

Permalink
Add commit id to params
Browse files Browse the repository at this point in the history
  • Loading branch information
norascheuch committed Oct 6, 2023
1 parent 075eb6a commit aed2e7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/database-upload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/database-upload.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/database-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function uploadDatabases(
);
try {
await client.request(
`POST https://uploads.github.com/repos/:owner/:repo/code-scanning/codeql/databases/:language?name=:name`,
`POST https://uploads.github.com/repos/:owner/:repo/code-scanning/codeql/databases/:language?name=:name?commit_oid=:commit_oid`,
{
owner: repositoryNwo.owner,
repo: repositoryNwo.repo,
Expand Down

0 comments on commit aed2e7f

Please sign in to comment.