Skip to content

Commit a21229c

Browse files
authored
Merge pull request #7369 from Countly/SER-2839-buttons-dont-work-in-huawei-push-messages
[push] changed the property name from link to url for message buttons
2 parents de2cde7 + 9f95993 commit a21229c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Version 25.03.xx
22
Fixes:
33
- [web] Use Client Hints
4+
- [push] Fixed the property name by changing it from link to url for message buttons for Huawei messages
45

56
## Version 25.03.37
67
Fixes:

plugins/push/api/send/platforms/h.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ const map = {
389389
*/
390390
buttons: function(t, buttons) {
391391
if (buttons) {
392-
t.result.data['c.b'] = buttons.map(b => ({t: b.title, l: b.link}));
392+
t.result.data['c.b'] = buttons.map(b => ({t: b.title, l: b.url}));
393393
}
394394
},
395395

0 commit comments

Comments
 (0)