fix eslint

This commit is contained in:
Primakov Alexandr Alexandrovich 2025-02-10 22:13:55 +03:00
parent 815f11d5bc
commit 2925d0f17b
3 changed files with 1602 additions and 1599 deletions

File diff suppressed because it is too large Load Diff

View File

@ -607,8 +607,7 @@ function createGigachat(options = {}) {
}
var gigachat = createGigachat();
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
module.exports = {
createGigachat,
gigachat
});
//# sourceMappingURL=index.js.map
}

View File

@ -84,7 +84,7 @@ router.use(async (req, res, next) => {
process.env.GIGACHAT_ACCESS_TOKEN = json.access_token;
process.env.GIGACHAT_EXPIRES_AT = json.expires_at;
console.log(JSON.stringify(response.data));
} catch {
} catch (error) {
console.log(error);
}
}