From 6bd5ddb684652b0418d31db5f319ea82a67e6656 Mon Sep 17 00:00:00 2001 From: Chris Smit Date: Mon, 30 Oct 2023 15:29:43 +0200 Subject: [PATCH] Update payload with params rather than the other way around --- commcare_export/commcare_minilinq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commcare_export/commcare_minilinq.py b/commcare_export/commcare_minilinq.py index 89677bd..ccae28f 100644 --- a/commcare_export/commcare_minilinq.py +++ b/commcare_export/commcare_minilinq.py @@ -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