docs: fix Sanity example (#11697)

This commit is contained in:
Ismail Sabet
2025-03-04 09:04:53 +02:00
committed by GitHub
parent 783f96439a
commit a39830e269

View File

@@ -695,15 +695,15 @@ export const syncStep = createStep(
const sanityModule: SanityModuleService = container.resolve(SANITY_MODULE)
const query = container.resolve(ContainerRegistrationKeys.QUERY)
const total = 0
let total = 0
const upsertMap: {
before: any
after: any
}[] = []
const batchSize = 200
const hasMore = true
const offset = 0
let hasMore = true
let offset = 0
const filters = input.product_ids ? {
id: input.product_ids,
} : {}