Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Yazykov committed Sep 7, 2022
2 parents c3ad908 + e04cb5c commit d8be08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/javascript/00-common/01-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { client } = require('../client');
const run = async () => {
const filePath = path.resolve(__dirname, '../token.json');

client.connection.on('change', () => {
client.token.on('change', () => {
const token = client.token.getValue();
fs.writeFileSync(filePath, JSON.stringify(token));
});
Expand Down

0 comments on commit d8be08f

Please sign in to comment.