Skip to content

Commit

Permalink
A Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cwxia0s committed Oct 28, 2023
1 parent 796a1ae commit 8769127
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ class Handler {
if (!sound.endsWith('.caf')) {
sound += '.caf'
}
const category = requestBody.category || undefined
const group = requestBody.group || 'myNotificationCategory'
const category = requestBody.category || 'myNotificationCategory'
const group = requestBody.group || 'Default'

const isArchive = requestBody.isArchive || undefined
const icon = requestBody.icon || undefined
Expand Down Expand Up @@ -251,7 +251,7 @@ class Handler {
'level': level,
'url': url,
'copy': copy,
'badge': badge, // ???
'badge': badge,
'autocopy': autoCopy,
}

Expand Down

0 comments on commit 8769127

Please sign in to comment.