Skip to content

Commit

Permalink
Few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jocelyndubois committed Apr 4, 2021
1 parent bcb3cec commit eb46d7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion extension/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ module.exports = function (nodecg) {
const graphUrl = 'https://www.ultimedecathlon.com/graphql';

const runnerName = nodecg.Replicant('runnerName');
const udRunner = runnerName.value;
let udRunner = runnerName.value;

runnerName.on('change', () => {
udRunner = runnerName.value;
});

const fetchPbsReplicant = nodecg.Replicant('fetchPbs');
nodecg.listenFor('fetchPbs', async query => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eb46d7d

Please sign in to comment.