mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
110067722: Added endpoints for add-service
Post is not complete as of yet.
This commit is contained in:
@@ -36,3 +36,7 @@ def activate_service(service_id):
|
||||
def add_service(service):
|
||||
db.session.add(service)
|
||||
db.session.commit()
|
||||
|
||||
|
||||
def find_service_by_service_name(service_name):
|
||||
return Service.query.filter_by(name=service_name).first()
|
||||
|
||||
Reference in New Issue
Block a user