Skip to content

Commit 1ad8501

Browse files
jrodewigdebadair
andauthored
[DOCS] Update branch attribute to fix doc links (#1577)
Co-authored-by: debadair <[email protected]>
1 parent 158ea91 commit 1ad8501

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/connecting.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ const client = new Client({
6161
==== ApiKey authentication
6262

6363
You can use the
64-
https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-api-create-api-key.html[ApiKey]
64+
{ref-7x}/security-api-create-api-key.html[ApiKey]
6565
authentication by passing the `apiKey` parameter via the `auth` option. The
6666
`apiKey` parameter can be either a base64 encoded string or an object with the
6767
values that you can obtain from the
68-
https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-api-create-api-key.html[create api key endpoint].
68+
{ref-7x}/security-api-create-api-key.html[create api key endpoint].
69+
6970

7071
NOTE: If you provide both basic authentication credentials and the ApiKey
7172
configuration, the ApiKey takes precedence.

docs/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Elasticsearch JavaScript Client
22

3-
:branch: 7.x
3+
:branch: 7.16
44
include::{asciidoc-dir}/../../shared/attributes.asciidoc[]
55

66
include::introduction.asciidoc[]

0 commit comments

Comments
 (0)