mirror of
https://github.com/GSA/notifications-api.git
synced 2026-03-28 22:23:23 -04:00
Merge pull request #2447 from alphagov/associate-all-services
The active flag in the query was excluding some services.
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