From 062e293607780869333c988d18bf7dee08eb721e Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sat, 24 Dec 2022 20:11:21 +0000 Subject: [PATCH] Fix missing namespace qualifier for Rpush --- lib/use_case/question/create.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/use_case/question/create.rb b/lib/use_case/question/create.rb index a0a55450..abe57516 100644 --- a/lib/use_case/question/create.rb +++ b/lib/use_case/question/create.rb @@ -30,7 +30,7 @@ module UseCase inbox = ::Inbox.create!(user: target_user, question: question, new: true) - webpush_app = Rpush::App.find_by(name: "webpush") + webpush_app = ::Rpush::App.find_by(name: "webpush") target_user.push_notification(webpush_app, inbox) {