Fix missing namespace qualifier for Rpush

This commit is contained in:
Karina Kwiatek 2022-12-24 20:11:21 +00:00
parent d9514a306a
commit 062e293607
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{