Skip to content

Commit 46ccfda

Browse files
committed
bug fixing
Signed-off-by: Vedansh Saini <[email protected]>
1 parent ad46706 commit 46ccfda

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/scripts/scrumHelper.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// const { cache } = require("react");
21
console.log("Script loaded", new Date().toISOString());
3-
42
let refreshButton_Placed = false;
5-
//# sourceURL=scrumHelper.js
63
let enableToggle = true;
74
let hasInjectedContent = false;
85
function allIncluded() {
@@ -281,9 +278,9 @@ function allIncluded() {
281278
githubCache.fetching = true;
282279
githubCache.cacheKey = cacheKey;
283280

284-
const issueUrl = `https://api.github.com/search/issues?q=author%3A${githubUsername}+org%3Afossasia+created%3A${startingDate}..${endingDate}&per_page=100`;
285-
const prUrl = `https://api.github.com/search/issues?q=author%3A${githubUsername}+org%3Afossasia+updated%3A${startingDate}..${endingDate}&per_page=100`;
286-
const userUrl = `https://api.github.com/users/${githubUsername}`;
281+
let issueUrl = `https://api.github.com/search/issues?q=author%3A${githubUsername}+org%3Afossasia+created%3A${startingDate}..${endingDate}&per_page=100`;
282+
let prUrl = `https://api.github.com/search/issues?q=commenter%3A${githubUsername}+org%3Afossasia+updated%3A${startingDate}..${endingDate}&per_page=100`;
283+
let userUrl = `https://api.github.com/users/${githubUsername}`;
287284

288285
try {
289286
// throttling 500ms to avoid burst
@@ -389,7 +386,7 @@ function allIncluded() {
389386
nextWeekArray = [];
390387
reviewedPrsArray = [];
391388
githubPrsReviewDataProccessed = {};
392-
389+
393390
// Update subject
394391
if(!githubCache.subject) {
395392
scrumSubjectLoaded();

0 commit comments

Comments
 (0)