Skip to content

Commit

Permalink
feat: update indexing endpoint for new name (#5725)
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 authored Feb 23, 2024
1 parent 447dfba commit 477b60c
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 477b60c

Please sign in to comment.