Skip to content

Commit

Permalink
javascript -> js
Browse files Browse the repository at this point in the history
  • Loading branch information
leemthompo committed Sep 17, 2024
1 parent 940ff78 commit 90ef250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/connector/docs/dls-e2e-guide.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ GET .search-acl-filter-source2

The following script exemplifies how to generate the Elasticsearch API key that combines multiple user identities:

[source,javascript]
[source,js]
----
require("dotenv").config();
const axios = require("axios");
Expand Down Expand Up @@ -386,7 +386,7 @@ The workflow will look something like this:
4. When the user searches for documents, the frontend application passes the `encoded` field to your search application's {ref}/search-application-search.html[`_search` endpoint].
For example, you might use the https://github.com/elastic/search-application-client[Search Application client^] to make the actual queries using the API key:
+
[source,javascript]
[source,js]
----
const client = SearchApplicationClient(applicationName, endpoint, apiKey, params);
----
Expand Down

0 comments on commit 90ef250

Please sign in to comment.