docs: fix Sanity example (#11697)
This commit is contained in:
1 parent
783f96439a
commit
a39830e269
1 file changed
+3
-3
@@ -695,15 +695,15 @@ export const syncStep = createStep(
|
|||||||
const sanityModule: SanityModuleService = container.resolve(SANITY_MODULE)
|
const sanityModule: SanityModuleService = container.resolve(SANITY_MODULE)
|
||||||
const query = container.resolve(ContainerRegistrationKeys.QUERY)
|
const query = container.resolve(ContainerRegistrationKeys.QUERY)
|
||||||
|
|
||||||
const total = 0
|
let total = 0
|
||||||
const upsertMap: {
|
const upsertMap: {
|
||||||
before: any
|
before: any
|
||||||
after: any
|
after: any
|
||||||
}[] = []
|
}[] = []
|
||||||
|
|
||||||
const batchSize = 200
|
const batchSize = 200
|
||||||
const hasMore = true
|
let hasMore = true
|
||||||
const offset = 0
|
let offset = 0
|
||||||
const filters = input.product_ids ? {
|
const filters = input.product_ids ? {
|
||||||
id: input.product_ids,
|
id: input.product_ids,
|
||||||
} : {}
|
} : {}
|
||||||
|
|||||||
Reference in new issue
Block a user