Merge pull request #458 from GSA/stvnrlly/use-total-message-limit

Insert total_message_limit into service creation
This commit is contained in:
Carlo Costino
2023-09-06 12:56:18 -04:00
committed by GitHub

View File

@@ -216,6 +216,8 @@ def create_service():
raise InvalidRequest(errors, status_code=400)
data.pop("service_domain", None)
data["total_message_limit"] = current_app.config["TOTAL_MESSAGE_LIMIT"]
# validate json with marshmallow
service_schema.load(data)