Use explicit `create!` call in mute rule creation use case
This commit is contained in:
parent
9f8450a83c
commit
454438091b
|
@ -7,7 +7,7 @@ module UseCase
|
|||
option :phrase, type: Types::Coercible::String
|
||||
|
||||
def call
|
||||
rule = ::MuteRule.create(
|
||||
rule = ::MuteRule.create!(
|
||||
user:,
|
||||
muted_phrase: phrase
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue