Skip to content

Commit

Permalink
chore: update method name
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Aug 23, 2023
1 parent 873d3f4 commit 99756cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/client-sdk-web/src/internal/control-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,7 @@ export class ControlClient<
if (err) {
resolve(new ListIndexes.Error(cacheServiceErrorMapper(err)));
} else {
const indexes = resp
.getIndexesList()
.map(index => index.getIndexName());
const indexes = resp.getIndexNamesList();
resolve(new ListIndexes.Success(indexes));
}
}
Expand Down

0 comments on commit 99756cb

Please sign in to comment.