Skip to content

Commit

Permalink
check the id if update score scuess
Browse files Browse the repository at this point in the history
  • Loading branch information
keweizhan committed Mar 15, 2024
1 parent ec68be0 commit 4b2a32c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/assets/javascripts/simple_code.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ $(document).ready(function(){
'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content') // CSRF token
},
success: function(response) {
console.log('Score updated successfully');
console.log('Score updated successfully' + // external_id
'externalId is' + externalId);
},
error: function(xhr) {
console.log('Failed to update score: ' + xhr.responseText
Expand Down

0 comments on commit 4b2a32c

Please sign in to comment.