We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1263c7 commit 36b3f35Copy full SHA for 36b3f35
lib/provider.js
@@ -49,15 +49,15 @@ module.exports = function (dependencies) {
49
50
switch (action) {
51
case 'create':
52
+ type = 'channels';
53
+ method = 'post';
54
if (notification['push-type'] == null) {
55
// Add live activity push type if it's not already provided.
56
// Live activity is the only current type supported.
57
// Note, this seems like it should be lower cased, but the
58
// docs shows it in the current format.
59
notification['push-type'] = 'LiveActivity';
60
}
- type = 'channels';
- method = 'post';
61
break;
62
case 'read':
63
type = 'channels';
0 commit comments