From d63e757c32e120dfd4841290cfdb0191fb591083 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 27 Oct 2020 02:29:56 -0400 Subject: [PATCH] Ensure args are checked against form body Required for XML definitions but erroneously removed during file parsing reworking. --- api-daemon/pvcapid/flaskapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 204390b3..6518051a 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -169,7 +169,7 @@ class RequestParser(object): action=reqarg.get('action', None), choices=reqarg.get('choices', ()), help=reqarg.get('helptext', None), - location='args' + location=['args','form'] ) reqargs = parser.parse_args() kwargs['reqargs'] = reqargs