mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-13 04:44:46 +00:00
format: format code
This commit is contained in:
parent
7add28ebd9
commit
b0910138f3
1 changed files with 6 additions and 9 deletions
|
@ -15,9 +15,6 @@ class DingDing extends NotificationProvider {
|
||||||
const mobileList = notification.mentioning === "specify-mobiles" ? notification.mobileList.split(",") : []
|
const mobileList = notification.mentioning === "specify-mobiles" ? notification.mobileList.split(",") : []
|
||||||
const userList = notification.mentioning === "specify-users" ? notification.userList.split(",") : []
|
const userList = notification.mentioning === "specify-users" ? notification.userList.split(",") : []
|
||||||
const mentionStr = [...mobileList || [], ...userList || []].map(item => `@${item}`).join(" ")
|
const mentionStr = [...mobileList || [], ...userList || []].map(item => `@${item}`).join(" ")
|
||||||
console.log('mobileList: ',mobileList)
|
|
||||||
console.log('userList: ',userList)
|
|
||||||
console.log('mentionStr: ',mentionStr)
|
|
||||||
try {
|
try {
|
||||||
if (heartbeatJSON != null) {
|
if (heartbeatJSON != null) {
|
||||||
notification.mobileList
|
notification.mobileList
|
||||||
|
|
Loading…
Add table
Reference in a new issue