Explorar el Código

newOffsetNum -> newOffset

Kaori Tokashiki hace 5 años
padre
commit
0b73baecbb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/server/service/bolt.js

+ 2 - 2
src/server/service/bolt.js

@@ -157,8 +157,8 @@ class BoltService {
   }
 
   showNextResults = (command, args, offset) => {
-    const newOffsetNum = offset + 10;
-    this.showEphemeralSearchResults(command, args, newOffsetNum);
+    const newOffset = offset + 10;
+    this.showEphemeralSearchResults(command, args, newOffset);
   }
 
   async getSearchResultPaths(command, args, offset = 0) {