fix eslint
This commit is contained in:
parent
815f11d5bc
commit
752dabd015
File diff suppressed because it is too large
Load Diff
@ -607,8 +607,7 @@ function createGigachat(options = {}) {
|
|||||||
}
|
}
|
||||||
var gigachat = createGigachat();
|
var gigachat = createGigachat();
|
||||||
// Annotate the CommonJS export names for ESM import in node:
|
// Annotate the CommonJS export names for ESM import in node:
|
||||||
0 && (module.exports = {
|
module.exports = {
|
||||||
createGigachat,
|
createGigachat,
|
||||||
gigachat
|
gigachat
|
||||||
});
|
}
|
||||||
//# sourceMappingURL=index.js.map
|
|
||||||
|
@ -84,7 +84,7 @@ router.use(async (req, res, next) => {
|
|||||||
process.env.GIGACHAT_ACCESS_TOKEN = json.access_token;
|
process.env.GIGACHAT_ACCESS_TOKEN = json.access_token;
|
||||||
process.env.GIGACHAT_EXPIRES_AT = json.expires_at;
|
process.env.GIGACHAT_EXPIRES_AT = json.expires_at;
|
||||||
console.log(JSON.stringify(response.data));
|
console.log(JSON.stringify(response.data));
|
||||||
} catch {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user