Skip to content

Commit

Permalink
Merge pull request #227 from dimagi/cs/small_update
Browse files Browse the repository at this point in the history
Update payload with params rather than the other way around
  • Loading branch information
SmittieC authored Oct 30, 2023
2 parents 584e480 + 6bd5ddb commit de5ec15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commcare_export/commcare_minilinq.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def __init__(self, page_size=None, *args, **kwargs):
def next_page_params_from_batch(self, batch):
params = super(UCRPaginator, self).next_page_params_from_batch(batch)
if params:
return params | self.payload
return self.payload | params

def next_page_params_since(self, since=None):
params = self.payload
Expand Down

0 comments on commit de5ec15

Please sign in to comment.