forked from OpenWF/SpaceNinjaServer
chore: update PE+, add countedAtt to key chain triggered messages (#959)
Reviewed-on: OpenWF/SpaceNinjaServer#959 Co-authored-by: Sainan <sainan@calamity.inc> Co-committed-by: Sainan <sainan@calamity.inc>
This commit is contained in:
parent
a62e8eebc2
commit
c8542c9d75
8
package-lock.json
generated
8
package-lock.json
generated
@ -12,7 +12,7 @@
|
|||||||
"copyfiles": "^2.4.1",
|
"copyfiles": "^2.4.1",
|
||||||
"express": "^5",
|
"express": "^5",
|
||||||
"mongoose": "^8.9.4",
|
"mongoose": "^8.9.4",
|
||||||
"warframe-public-export-plus": "^0.5.29",
|
"warframe-public-export-plus": "^0.5.30",
|
||||||
"warframe-riven-info": "^0.1.2",
|
"warframe-riven-info": "^0.1.2",
|
||||||
"winston": "^3.17.0",
|
"winston": "^3.17.0",
|
||||||
"winston-daily-rotate-file": "^5.0.0"
|
"winston-daily-rotate-file": "^5.0.0"
|
||||||
@ -4093,9 +4093,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/warframe-public-export-plus": {
|
"node_modules/warframe-public-export-plus": {
|
||||||
"version": "0.5.29",
|
"version": "0.5.30",
|
||||||
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.29.tgz",
|
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.30.tgz",
|
||||||
"integrity": "sha512-D61CFiJTr/LIQCvyZ03DgudUBpJDqrOTdNPNeB0kY21lmPHw1auDg4CNW2T1JaG0nL5K1hu9ypvnfXzno2omMA=="
|
"integrity": "sha512-vzs+naEqp3iFZTbgIky4jiNbjNIovuR4oSimrFiuyIbrnfTlfXFzDfzT0hG2rgS8yEXBAbOcv2Zfm3fmWuZ0Kg=="
|
||||||
},
|
},
|
||||||
"node_modules/warframe-riven-info": {
|
"node_modules/warframe-riven-info": {
|
||||||
"version": "0.1.2",
|
"version": "0.1.2",
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
"copyfiles": "^2.4.1",
|
"copyfiles": "^2.4.1",
|
||||||
"express": "^5",
|
"express": "^5",
|
||||||
"mongoose": "^8.9.4",
|
"mongoose": "^8.9.4",
|
||||||
"warframe-public-export-plus": "^0.5.29",
|
"warframe-public-export-plus": "^0.5.30",
|
||||||
"warframe-riven-info": "^0.1.2",
|
"warframe-riven-info": "^0.1.2",
|
||||||
"winston": "^3.17.0",
|
"winston": "^3.17.0",
|
||||||
"winston-daily-rotate-file": "^5.0.0"
|
"winston-daily-rotate-file": "^5.0.0"
|
||||||
|
@ -18,6 +18,7 @@ export const giveKeyChainTriggeredMessageController: RequestHandler = async (req
|
|||||||
msg: keyChainMessage.body,
|
msg: keyChainMessage.body,
|
||||||
sub: keyChainMessage.title,
|
sub: keyChainMessage.title,
|
||||||
att: keyChainMessage.attachments.length > 0 ? keyChainMessage.attachments : undefined,
|
att: keyChainMessage.attachments.length > 0 ? keyChainMessage.attachments : undefined,
|
||||||
|
countedAtt: keyChainMessage.countedAttachments.length > 0 ? keyChainMessage.countedAttachments : undefined,
|
||||||
icon: keyChainMessage.icon ?? "",
|
icon: keyChainMessage.icon ?? "",
|
||||||
transmission: keyChainMessage.transmission ?? "",
|
transmission: keyChainMessage.transmission ?? "",
|
||||||
highPriority: keyChainMessage.highPriority ?? false,
|
highPriority: keyChainMessage.highPriority ?? false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user