Skip to content

Commit a361c70

Browse files
authored
Update index.js
1 parent 03cdb27 commit a361c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ for (let i = 0; i < accepts.length; i++) {
116116
console.log(codeObj);
117117

118118
let note_content = await getNoteForQuestion(item.titleSlug);
119-
while (response == 'failed') {
119+
while (note_content == 'failed') {
120120
await pause(waitTime);
121121
note_content = await getNoteForQuestion(item.titleSlug);
122122
}

0 commit comments

Comments
 (0)