From 9fd796f1ea3133df0634e3deda49890efd797e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czkewei19=E2=80=9D?= Date: Mon, 18 Mar 2024 12:20:38 -0400 Subject: [PATCH] print id in console for s0,s1 and s2 --- app/assets/javascripts/simple.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/simple.js b/app/assets/javascripts/simple.js index 3be7cf16..27626ff1 100644 --- a/app/assets/javascripts/simple.js +++ b/app/assets/javascripts/simple.js @@ -119,7 +119,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