mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:19:52 +01:00
Use explicit create!
call in mute rule creation use case
This commit is contained in:
parent
9f8450a83c
commit
454438091b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue