Remove GHAE in Liquid and front matter (7) (#48772)
This commit is contained in:
@@ -96,7 +96,7 @@ For example, this script gets all of the issues from the `octocat/Spoon-Knife` r
|
||||
```javascript copy
|
||||
import { Octokit } from "octokit";
|
||||
|
||||
const octokit = new Octokit({ {% ifversion ghes or ghae %}
|
||||
const octokit = new Octokit({ {% ifversion ghes %}
|
||||
baseUrl: "{% data variables.product.api_url_code %}",
|
||||
{% endif %}});
|
||||
|
||||
@@ -123,7 +123,7 @@ The `getPaginatedData` function makes a request to an endpoint with `octokit.req
|
||||
```javascript copy
|
||||
import { Octokit } from "octokit";
|
||||
|
||||
const octokit = new Octokit({ {% ifversion ghes or ghae %}
|
||||
const octokit = new Octokit({ {% ifversion ghes %}
|
||||
baseUrl: "{% data variables.product.api_url_code %}",
|
||||
{% endif %}});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user