Skip to content

Commit e1cd14c

Browse files
authoredApr 11, 2024
fix: make actor optional on trigger call (#18)
* fix: make actor optional on trigger call * fix: argument order * chore: version bump * chore: bundle
1 parent b0543b2 commit e1cd14c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
knockapi (0.4.11)
4+
knockapi (0.4.12)
55

66
GEM
77
remote: https://rubygems.org/

‎lib/knock/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Knock
4-
VERSION = '0.4.11'
4+
VERSION = '0.4.12'
55
end

‎lib/knock/workflows.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class << self
2323
# duplicate workflow invocations
2424
#
2525
# @return [Hash] A workflow trigger result
26-
def trigger(key:, actor:, recipients:, data: {}, cancellation_key: nil, tenant: nil, idempotency_key: nil)
26+
def trigger(key:, recipients:, data: {}, actor: nil, cancellation_key: nil, tenant: nil, idempotency_key: nil)
2727
attrs = {
2828
actor: actor,
2929
recipients: recipients,

0 commit comments

Comments
 (0)