Fix lint errors

This commit is contained in:
Karina Kwiatek 2023-12-11 19:59:07 +01:00
parent 64ac18843e
commit b2b9826071
1 changed files with 1 additions and 2 deletions

View File

@ -37,12 +37,11 @@ class Ajax::QuestionController < AjaxController
UseCase::Question::Destroy.call(
question_id: params[:question],
current_user: current_user,
current_user:,
)
@response[:status] = :okay
@response[:message] = t(".success")
@response[:success] = true
end
end