add only_active flag to GET /services/

does what it says on the tin
This commit is contained in:
Leo Hemsted
2016-11-09 11:45:39 +00:00
parent 3cbacecf19
commit d4a300ec7a
4 changed files with 28 additions and 5 deletions

View File

@@ -129,6 +129,7 @@ def sample_service(notify_db,
notify_db_session,
service_name="Sample service",
user=None,
active=True,
restricted=False,
limit=1000,
email_from=None):
@@ -139,7 +140,7 @@ def sample_service(notify_db,
data = {
'name': service_name,
'message_limit': limit,
'active': True,
'active': active,
'restricted': restricted,
'email_from': email_from,
'created_by': user