use templating for language param
This commit is contained in:
parent
b0b9ab80cc
commit
96edcdfd20
6 changed files with 8 additions and 6 deletions
|
|
@ -63,10 +63,11 @@ export async function uploadDatabases(
|
|||
const payload = fs.readFileSync(databaseBundlePath);
|
||||
try {
|
||||
await client.request(
|
||||
`PUT /repos/:owner/:repo/code-scanning/codeql/databases/${language}`,
|
||||
`PUT /repos/:owner/:repo/code-scanning/codeql/databases/:language`,
|
||||
{
|
||||
owner: repositoryNwo.owner,
|
||||
repo: repositoryNwo.repo,
|
||||
language,
|
||||
data: payload,
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue