Add docs/code comments for message-send-flow

This commit is contained in:
Andrew Shumway
2024-03-18 11:45:40 -06:00
parent 0e1c5e4c9d
commit 6599c284cc
5 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -166,10 +166,10 @@ def get_jobs_by_service(service_id):
@job_blueprint.route("", methods=["POST"])
def create_job(service_id):
'''
"""
Entry point from UI for one-off messages
as well as CSV uploads.
'''
"""
service = dao_fetch_service_by_id(service_id)
if not service.active:
raise InvalidRequest("Create job is not allowed: service is inactive ", 403)