zahmis 5 лет назад
Родитель
Сommit
8b100cd847
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      packages/slack/src/utils/verifying-is-slack-request.ts

+ 2 - 0
packages/slack/src/utils/verifying-is-slack-request.ts

@@ -19,6 +19,8 @@ export const verifyingIsSlackRequest = (req, res, next):string => {
   // protect against replay attacks
   const time = Math.floor(new Date().getTime() / 1000);
   if (Math.abs(time - timestamp) > 300) {
+    console.log("math");
+
     return res.send('Verification failed.');
   }