Skip to content

Commit 4b2a32c

Browse files
committed
check the id if update score scuess
1 parent ec68be0 commit 4b2a32c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/assets/javascripts/simple_code.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ $(document).ready(function(){
6868
'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content') // CSRF token
6969
},
7070
success: function(response) {
71-
console.log('Score updated successfully');
71+
console.log('Score updated successfully' + // external_id
72+
'externalId is' + externalId);
7273
},
7374
error: function(xhr) {
7475
console.log('Failed to update score: ' + xhr.responseText

0 commit comments

Comments
 (0)