Skip to content

Commit

Permalink
fix: make actor optional on trigger call (#18)
Browse files Browse the repository at this point in the history
* fix: make actor optional on trigger call

* fix: argument order

* chore: version bump

* chore: bundle
  • Loading branch information
cellomatt committed Apr 11, 2024
1 parent b0543b2 commit e1cd14c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
knockapi (0.4.11)
knockapi (0.4.12)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion lib/knock/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Knock
VERSION = '0.4.11'
VERSION = '0.4.12'
end
2 changes: 1 addition & 1 deletion lib/knock/workflows.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class << self
# duplicate workflow invocations
#
# @return [Hash] A workflow trigger result
def trigger(key:, actor:, recipients:, data: {}, cancellation_key: nil, tenant: nil, idempotency_key: nil)
def trigger(key:, recipients:, data: {}, actor: nil, cancellation_key: nil, tenant: nil, idempotency_key: nil)
attrs = {
actor: actor,
recipients: recipients,
Expand Down

0 comments on commit e1cd14c

Please sign in to comment.