Skip to content

Commit 00a3f72

Browse files
authored
Correct GraphQL API endpoints for GHAE
GHAE uses the same general format as GHES for GraphQL API endpoints, but always uses HTTPS.
1 parent 126497b commit 00a3f72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

data/variables/product.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ api_url_code: >-
224224
{% ifversion fpt or ghec %}https://api.github.com{% elsif ghes %}http(s)://[hostname]/api/v3{% elsif ghae %}https://[hostname]/api/v3{% endif %}
225225
# Use this inside command-line code blocks
226226
graphql_url_pre: >-
227-
{% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://<em>[hostname]</em>/api/graphql{% elsif ghae %}https://api.<em>[hostname]</em>/graphql{% endif %}
227+
{% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://<em>[hostname]</em>/api/graphql{% elsif ghae %}https://<em>[hostname]</em>/api/graphql{% endif %}
228228
# Use this all other code blocks
229229
graphql_url_code: >-
230-
{% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://[hostname]/api/graphql{% elsif ghae %}https://api.[hostname]/graphql{% endif %}
230+
{% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://[hostname]/api/graphql{% elsif ghae %}https://[hostname]/api/graphql{% endif %}

0 commit comments

Comments
 (0)