replace last_db_inv_index var

This commit is contained in:
cryptosharks131 2026-05-01 20:06:13 -04:00
parent 1cccdb179a
commit da10e14040
No known key found for this signature in database
GPG key ID: 0A50748567ADEB28

View file

@ -197,6 +197,7 @@ def update_invoices(stub):
open_invoice.save()
# Bulk invoice sync
last_db_inv_index = Invoices.objects.aggregate(Max('index'))['index__max'] or 0
index_offset = last_db_inv_index
page_size = 300