diff roundup/rest.py @ 8196:94999f850fd6

fix: missed on input -> input_payload on e5362f8e1808 I didn't realize the associate array was being turned into keyword args. So I left x['input'] = input_payload 8-(.
author John Rouillard <rouilj@ieee.org>
date Wed, 11 Dec 2024 13:46:48 -0500
parents beab1ba70d34
children 5b8d1cb290cb
line wrap: on
line diff
--- a/roundup/rest.py	Wed Dec 11 13:36:40 2024 -0500
+++ b/roundup/rest.py	Wed Dec 11 13:46:48 2024 -0500
@@ -424,7 +424,7 @@
 
                 # zip the varlist into a dictionary, and pass it to the caller
                 args = dict(zip(list_vars, match_obj.groups()))
-                args['input'] = input_payload
+                args['input_payload'] = input_payload
                 return func(instance, **args)
         raise NotFound('Nothing matches the given URI')
 

Roundup Issue Tracker: http://roundup-tracker.org/