diff --git a/lib/use_case/mute_rule/create.rb b/lib/use_case/mute_rule/create.rb index 68a587aa..eee45dd6 100644 --- a/lib/use_case/mute_rule/create.rb +++ b/lib/use_case/mute_rule/create.rb @@ -7,7 +7,7 @@ module UseCase option :phrase, type: Types::Coercible::String def call - rule = ::MuteRule.create( + rule = ::MuteRule.create!( user:, muted_phrase: phrase )