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){