Use a const for nextCursor
This commit is contained in:
@ -241,7 +241,7 @@ export const exportJob = async (jobData: ExportJobData) => {
|
|||||||
const size = items.length
|
const size = items.length
|
||||||
// write data to the csv file
|
// write data to the csv file
|
||||||
if (size > 0) {
|
if (size > 0) {
|
||||||
let nextCursor = await uploadToBucket(
|
const nextCursor = await uploadToBucket(
|
||||||
userId,
|
userId,
|
||||||
items,
|
items,
|
||||||
cursor,
|
cursor,
|
||||||
|
|||||||
Reference in New Issue
Block a user