From 6e04ec436e8316665cadabd7a779dbebbeeb447d Mon Sep 17 00:00:00 2001 From: xJoker Date: Thu, 14 Oct 2021 07:34:45 +0800 Subject: [PATCH] Update server/notification-providers/dingding.js Co-authored-by: Adam Stachowicz --- server/notification-providers/dingding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/dingding.js b/server/notification-providers/dingding.js index ef348e2f..1dd52a52 100644 --- a/server/notification-providers/dingding.js +++ b/server/notification-providers/dingding.js @@ -59,7 +59,7 @@ class DingDing extends NotificationProvider { /** DingDing sign */ sign(timestamp,secretKey) { return Crypto - .createHmac("sha256",Buffer.from(secretKey, 'utf8')) + .createHmac("sha256", Buffer.from(secretKey, 'utf8')) .update(Buffer.from(`${timestamp}\n${secretKey}`, 'utf8')) .digest("base64"); }