mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
reformat up to latest version of black
This commit is contained in:
@@ -715,9 +715,9 @@ def get_orgs_and_services(user):
|
||||
"id": service.id,
|
||||
"name": service.name,
|
||||
"restricted": service.restricted,
|
||||
"organization": service.organization.id
|
||||
if service.organization
|
||||
else None,
|
||||
"organization": (
|
||||
service.organization.id if service.organization else None
|
||||
),
|
||||
}
|
||||
for service in user.services
|
||||
if service.active
|
||||
|
||||
Reference in New Issue
Block a user