From 8e324de14bc83f4606bdccf886fd61b1eabf35ba Mon Sep 17 00:00:00 2001 From: Y4er <45418382@qq.com> Date: Fri, 30 Jun 2023 18:47:48 +0800 Subject: [PATCH] fix codeql database api 404 error (#26300) --- .../using-the-codeql-cli/creating-codeql-databases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/code-security/codeql-cli/using-the-codeql-cli/creating-codeql-databases.md b/content/code-security/codeql-cli/using-the-codeql-cli/creating-codeql-databases.md index 1d140e191365..c4358c2fe156 100644 --- a/content/code-security/codeql-cli/using-the-codeql-cli/creating-codeql-databases.md +++ b/content/code-security/codeql-cli/using-the-codeql-cli/creating-codeql-databases.md @@ -406,7 +406,7 @@ steps: You can check if a repository has any {% data variables.product.prodname_codeql %} databases available for download using the `/repos///code-scanning/codeql/databases` endpoint. For example, to check for {% data variables.product.prodname_codeql %} databases using the [{% data variables.product.prodname_cli %}](https://cli.github.com/manual/gh_api) you would run: ``` -gh api /repos///code-scanning/codeql/databases/ +gh api /repos///code-scanning/codeql/databases ``` This command returns information about any {% data variables.product.prodname_codeql %} databases that are available for a repository, including the language the database represents, and when the database was last updated. If no {% data variables.product.prodname_codeql %} databases are available, the response is empty.