Skip to content

Commit

Permalink
fix: missed on input -> input_payload on e5362f8e1808
Browse files Browse the repository at this point in the history
I didn't realize the associate array was being turned into keyword
args. So I left x['input'] = input_payload 8-(.
  • Loading branch information
rouilj committed Dec 11, 2024
1 parent 2cb4254 commit 98fc6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roundup/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def execute(cls, instance, path, method, input_payload):

# 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')

Expand Down

0 comments on commit 98fc6ee

Please sign in to comment.