Skip to content

Commit

Permalink
Merge pull request #34162 from dimagi/gh/apps-update-task
Browse files Browse the repository at this point in the history
Return boolean value for app_has_been_submitted_to_in_last_30_days
  • Loading branch information
gherceg authored Feb 22, 2024
2 parents aa34518 + b45877e commit adc62cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/ex-submodules/couchforms/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def app_has_been_submitted_to_in_last_30_days(domain, app_id):
result = _received_on_query(domain, desc=True).app(app_id)[0]

if not result:
return
return False

return iso_string_to_datetime(result[0]['received_on']) > (now - _30_days)

Expand Down

0 comments on commit adc62cb

Please sign in to comment.