strip fingerprint size
All checks were successful
Build and push Doorman UI / API / docker (push) Successful in 1m22s

This commit is contained in:
Martin Dimitrov 2024-10-26 15:15:15 -07:00
parent cf63b06a95
commit 5b57024105

View File

@ -7,7 +7,7 @@ exports.handler = async function(context, event, callback) {
let msg = event.msg;
if (event.json && event.json != "undefined") {
const fingerprint = JSON.parse(event.json);
const fingerprint = JSON.parse(event.json)?.fingerprint;
msg += `\`\`\`# Unlocked by\n${JSON.stringify(fingerprint, null, 4)}\`\`\``;
}