소스 검색

newOffsetNum -> newOffset

Kaori Tokashiki 5 년 전
부모
커밋
0b73baecbb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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) {