Skip to content

Commit 09afc82

Browse files
authored
Merge pull request #74 from JaviCerveraIngram/CPS-58-usage-product-filter
CPS-58 Usage processor filter "product__id" is not filtering by product id.
2 parents ed8c475 + 29c4c9d commit 09afc82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect/resources/usage_file_automation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def filters(self, status='ready', **kwargs):
3232
"""
3333
filters = super(UsageFileAutomation, self).filters(status, **kwargs)
3434
if self.config.products:
35-
filters['product__id'] = ','.join(self.config.products)
35+
filters['product_id'] = ','.join(self.config.products)
3636
return filters
3737

3838
def dispatch(self, request):

0 commit comments

Comments
 (0)