Skip to content
Snippets Groups Projects
Verified Commit 2d26162d authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Fix delayed task parameter handling

parent 79b143f6
No related branches found
No related tags found
No related merge requests found
......@@ -17,12 +17,12 @@ module Actions
# Rails passes hashes with keys as string by default
def plan(args = {})
_plan(args.to_options)
_plan(args.deep_symbolize_keys)
end
def _plan(context: nil, **task_params)
input.update context: context
input.update task_params: task_params.compact
input.update task_params: task_params
plan_self
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment