瀏覽代碼

Merge branch 'master' of gitlab.com:Isleward/isleward

tags/v0.6^2
Shaun 4 年之前
父節點
當前提交
e9f02d9ab3
共有 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);
}
}
};

Loading…
取消
儲存