Skip to content

Commit

Permalink
remove limit... again
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Oct 18, 2024
1 parent a160ab5 commit b754c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salesforce/management/commands/update_opportunities.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def handle(self, *args, **options):
"FROM Adoption__c WHERE "
"Base_Year__c = {} AND Opportunity__r.Contact__r.Accounts_UUID__c != null "
"AND Confirmation_Type__c = 'OpenStax Confirmed Adoption' "
"AND Opportunity__r.Contact__r.Adoption_Status__c != 'Current Adopter' LIMIT 100").format(base_year)
"AND Opportunity__r.Contact__r.Adoption_Status__c != 'Current Adopter'").format(base_year)

response = sf.query(query)
records = response['records']
Expand Down

0 comments on commit b754c52

Please sign in to comment.