Skip to content

Commit

Permalink
feat: update indexing endpoint for new name
Browse files Browse the repository at this point in the history
This endpoint is changing to allow for multiple settings resources to be grouped under `/setttings/...`.
  • Loading branch information
rneatherway committed Feb 15, 2024
1 parent 187b78e commit aaeef86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const INITIAL_LOADING_STATE: Settings = {
function fetchMaxDepth({client}: {client: SanityClient}): Observable<PartialIndexSettings> {
const {projectId, dataset} = client.config()
return client.observable.request<PartialIndexSettings>({
uri: `/projects/${projectId}/datasets/${dataset}/index-settings`,
uri: `/projects/${projectId}/datasets/${dataset}/settings/indexing`,
tag: 'search.getPartialIndexSettings',
})
}
Expand Down

0 comments on commit aaeef86

Please sign in to comment.