fix output
All checks were successful
Build and push Doorman UI / API / docker (push) Successful in 1m22s
All checks were successful
Build and push Doorman UI / API / docker (push) Successful in 1m22s
This commit is contained in:
parent
016e0cfa85
commit
2d8800bf0e
@ -11,12 +11,10 @@ exports.handler = async function(context, event, callback) {
|
||||
const fingerprint = JSON.parse(event.json);
|
||||
msg += `\`\`\`# Unlocked by\n${JSON.stringify(fingerprint, null, 4)}\`\`\``;
|
||||
} catch (e) {
|
||||
msg += `\`\`\`# Unlocked by\n# WARN: Unknown or corrupt raw fingerprint:\n ${fingerprint}\`\`\``;
|
||||
msg += `\`\`\`# Unlocked by\n# WARN: Unknown or corrupt raw fingerprint:\n ${event.json}\`\`\``;
|
||||
}
|
||||
}
|
||||
|
||||
console.log(msg);
|
||||
|
||||
// user must be in "Doorman" server
|
||||
await discord.sendMessageToUser(context,
|
||||
event.discordUser,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user