This is an automated email from the ASF dual-hosted git repository.
arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new fc22823 Fix new record argument validation
fc22823 is described below
commit fc2282393e55b56b215e72e400f1d59e6f492f9f
Author: Alastair McFarlane <[email protected]>
AuthorDate: Wed Jan 14 14:27:04 2026 +0000
Fix new record argument validation
---
atr/api/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atr/api/__init__.py b/atr/api/__init__.py
index 7c9d19a..c147431 100644
--- a/atr/api/__init__.py
+++ b/atr/api/__init__.py
@@ -344,7 +344,7 @@ async def distribution_record(data:
models.api.DistributionRecordArgs) -> DictRe
@api.route("/distribute/record_from_workflow", methods=["POST"])
-@quart_schema.validate_request(models.api.DistributeStatusUpdateArgs)
+@quart_schema.validate_request(models.api.DistributionRecordFromWorkflowArgs)
async def distribution_record_from_workflow(data:
models.api.DistributionRecordFromWorkflowArgs) -> DictResponse:
"""
Record a distribution.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]