소스 검색

trying to isolate google sheets error

(cherry picked from commit 0fd19a0704)
tags/v0.6^2
Shaun 4 년 전
committed by Big Bad Waffle
부모
커밋
9319c45108
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. +6
    -2
      src/server/security/sheets.js

+ 6
- 2
src/server/security/sheets.js 파일 보기

@@ -75,7 +75,11 @@ module.exports = {
},

update: async function () {
const records = await this.sheet.getRows();
this.onGetRows(null, records);
try {
const records = await this.sheet.getRows();
this.onGetRows(null, records);
} catch (e) {
setTimeout(this.update.bind(this), 300000);
}
}
};

불러오는 중...
취소
저장