mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
correct url linked in push notification
This commit is contained in:
parent
ca79c4b276
commit
896732975e
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ module Jobs
|
||||||
class PushNotification < Jobs::Base
|
class PushNotification < Jobs::Base
|
||||||
def execute(args)
|
def execute(args)
|
||||||
notification = args["payload"]
|
notification = args["payload"]
|
||||||
notification["url"] = UrlHelper.absolute(notification["post_url"])
|
notification["url"] = UrlHelper.absolute_without_cdn(notification["post_url"])
|
||||||
notification.delete("post_url")
|
notification.delete("post_url")
|
||||||
|
|
||||||
payload = {
|
payload = {
|
||||||
|
|
Loading…
Reference in a new issue