Skip to content

Commit 36b3f35

Browse files
committed
nit
1 parent a1263c7 commit 36b3f35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/provider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ module.exports = function (dependencies) {
4949

5050
switch (action) {
5151
case 'create':
52+
type = 'channels';
53+
method = 'post';
5254
if (notification['push-type'] == null) {
5355
// Add live activity push type if it's not already provided.
5456
// Live activity is the only current type supported.
5557
// Note, this seems like it should be lower cased, but the
5658
// docs shows it in the current format.
5759
notification['push-type'] = 'LiveActivity';
5860
}
59-
type = 'channels';
60-
method = 'post';
6161
break;
6262
case 'read':
6363
type = 'channels';

0 commit comments

Comments
 (0)