From 651423ce9041cdbb2597f962a2b8ab9972ffa047 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Fri, 28 Jun 2024 15:24:58 +0300 Subject: [PATCH] 1.1.22 fix function for checking the status of the switch finish_subscribe_msg --- static/js/user_profile_2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 2891314..1d88edd 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -816,9 +816,9 @@ function updSwitchState(el){ processData: false, contentType: false, // enctype: 'json', - data: { receive_finish_subscribe_msg: stateToSend }, + data: JSON.stringify({ receive_finish_subscribe_msg: stateToSend }), success: function(response){ - alert(response) + // alert(response) }, error: function (data, exception){