Parcourir la source

Merge pull request #4237 from weseek/fix/7319-correct-next-button

fix
Sizma yosimaz il y a 4 ans
Parent
commit
983c02340c

+ 1 - 1
packages/app/src/server/service/slack-command-handler/search.js

@@ -188,7 +188,7 @@ module.exports = (crowi) => {
   handler.showNextResults = async function(client, payload) {
     const parsedValue = JSON.parse(payload.actions[0].value);
 
-    const { body, args, offsetNum } = parsedValue;
+    const { body, args, offset: offsetNum } = parsedValue;
     const newOffsetNum = offsetNum + 10;
     let searchResult;
     try {