Skip to content

Commit

Permalink
Fix added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Jan 30, 2024
1 parent 1affcba commit 2ecdca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dynflow/action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def delay(delay_options, *args, **kwargs)
# By default it plans itself and expects input-hash.
# Use #plan_self and #plan_action methods to plan actions.
# It can use DB in this phase.
def plan(*args) # TODO
def plan(*args, **kwargs)
if from_subscription?
# if the action is triggered by subscription, by default use the
# input of parent action.
Expand All @@ -395,7 +395,7 @@ def plan(*args) # TODO
else
# in this case, the action was triggered by plan_action. Use
# the argument specified there.
plan_self(*args)
plan_self(*args, **kwargs)
end
self
end
Expand Down

0 comments on commit 2ecdca8

Please sign in to comment.