There was an error while loading. Please reload this page.
1 parent 431345e commit d307c92Copy full SHA for d307c92
example-apps/internal-knowledge-search/app-ui/src/components/SearchApplicationSettings.tsx
@@ -14,7 +14,8 @@ const SearchApplicationSettings: React.FC = () => {
14
15
const fetchPersonaOptions = async () => {
16
try {
17
- const identitiesIndex = await fetchIdentitiesIndex(await fetchSearchApplicationIndices())
+ const searchAppIndices = await fetchSearchApplicationIndices()
18
+ const identitiesIndex = await fetchIdentitiesIndex(searchAppIndices)
19
const identitiesPath = searchEndpoint + "/" + identitiesIndex + "/_search"
20
const response = await fetch(identitiesPath, {
21
method: "POST",
0 commit comments