mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:50:26 -06:00
correct url linked in push notification
This commit is contained in:
parent
ca79c4b276
commit
896732975e
@ -2,7 +2,7 @@ module Jobs
|
||||
class PushNotification < Jobs::Base
|
||||
def execute(args)
|
||||
notification = args["payload"]
|
||||
notification["url"] = UrlHelper.absolute(notification["post_url"])
|
||||
notification["url"] = UrlHelper.absolute_without_cdn(notification["post_url"])
|
||||
notification.delete("post_url")
|
||||
|
||||
payload = {
|
||||
|
Loading…
Reference in New Issue
Block a user