Ensure args are checked against form body

Required for XML definitions but erroneously removed during file parsing
reworking.
This commit is contained in:
Joshua Boniface 2020-10-27 02:29:56 -04:00
parent 81141c9b93
commit f3261455c4

@ -169,7 +169,7 @@ class RequestParser(object):
action=reqarg.get('action', None), action=reqarg.get('action', None),
choices=reqarg.get('choices', ()), choices=reqarg.get('choices', ()),
help=reqarg.get('helptext', None), help=reqarg.get('helptext', None),
location='args' location=['args','form']
) )
reqargs = parser.parse_args() reqargs = parser.parse_args()
kwargs['reqargs'] = reqargs kwargs['reqargs'] = reqargs