Use a const for nextCursor

This commit is contained in:
Jackson Harper
2024-11-02 11:19:25 +08:00
parent 7599bbaded
commit b74b1d40fe

View File

@ -241,7 +241,7 @@ export const exportJob = async (jobData: ExportJobData) => {
const size = items.length
// write data to the csv file
if (size > 0) {
let nextCursor = await uploadToBucket(
const nextCursor = await uploadToBucket(
userId,
items,
cursor,