浏览代码

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);
}
}
};

正在加载...
取消
保存