Skip to content

Commit 96a72e2

Browse files
committed
Fixed test error on Redmine5.0 + Ruby3.1 environment
1 parent fa17d20 commit 96a72e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/redmine_text_blocks/save_text_block.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ class SaveTextBlock
33

44
Result = ImmutableStruct.new :text_block_saved?, :text_block
55

6-
def self.call(*_)
7-
new(*_).call
6+
def self.call(*args, **kwargs)
7+
new(*args, **kwargs).call
88
end
99

1010
def initialize(params, text_block: TextBlock.new,

0 commit comments

Comments
 (0)