mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
The active flag in the query was excluding some services.
The active flag wasn't always used, plus a service should always be active on the first version of the service.
This commit is contained in:
@@ -771,8 +771,7 @@ def get_letter_details_from_zips_sent_file(file_paths):
|
||||
@notify_command(name='associate-services-to-organisations')
|
||||
def associate_services_to_organisations():
|
||||
services = Service.get_history_model().query.filter_by(
|
||||
version=1,
|
||||
active=True
|
||||
version=1
|
||||
).all()
|
||||
|
||||
for s in services:
|
||||
|
||||
Reference in New Issue
Block a user