Fix missing namespace qualifier for Rpush
This commit is contained in:
parent
d9514a306a
commit
062e293607
|
@ -30,7 +30,7 @@ module UseCase
|
||||||
|
|
||||||
inbox = ::Inbox.create!(user: target_user, question: question, new: true)
|
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)
|
target_user.push_notification(webpush_app, inbox)
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue