From ac2de4ddcc180438de9304572b492666e004e253 Mon Sep 17 00:00:00 2001 From: borissedw Date: Sun, 22 Oct 2023 14:51:47 +0300 Subject: [PATCH] 0.0.294 --- static/js/user_profile_2.js | 2 +- templates/blocks/profile/b_profile.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 3a37efe..2292685 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -307,7 +307,7 @@ async function upload_photo_f_profile (el,files) { processData: false, contentType: false, // enctype: 'json', - data: JSON.stringify(data), + data: data, success: function(data){ middleWareJS() diff --git a/templates/blocks/profile/b_profile.html b/templates/blocks/profile/b_profile.html index 5995af7..0e30a44 100644 --- a/templates/blocks/profile/b_profile.html +++ b/templates/blocks/profile/b_profile.html @@ -3,7 +3,9 @@
- +