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 authored Feb 13, 2024
1 parent d024b09 commit 9459f04
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 9459f04

Please sign in to comment.