format: format code

This commit is contained in:
xx 2024-12-21 14:56:15 +08:00
parent 7add28ebd9
commit b0910138f3

View file

@ -15,9 +15,6 @@ class DingDing extends NotificationProvider {
const mobileList = notification.mentioning === "specify-mobiles" ? notification.mobileList.split(",") : []
const userList = notification.mentioning === "specify-users" ? notification.userList.split(",") : []
const mentionStr = [...mobileList || [], ...userList || []].map(item => `@${item}`).join(" ")
console.log('mobileList: ',mobileList)
console.log('userList: ',userList)
console.log('mentionStr: ',mentionStr)
try {
if (heartbeatJSON != null) {
notification.mobileList