Skip to content

Commit

Permalink
fix: fixing trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjmpb committed Sep 13, 2024
1 parent 8309bac commit a237c49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lms/static/js/edxnotes/plugins/llm_summarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-CSRFToken': $.cookie('csrftoken')
'X-CSRFToken': $.cookie('csrftoken'),
},
body: JSON.stringify({
text_to_summarize: annotation.quote
})
text_to_summarize: annotation.quote,
}),
});
fetch(request)
.then((response) => {
Expand Down Expand Up @@ -169,7 +169,7 @@
${gettext('Summarizing...')}
</span>
</div>`;
}
},
});
});
}).call(this, define || RequireJS.define);

0 comments on commit a237c49

Please sign in to comment.