From c6b9bc76440de4835b23f645d3ecd31d68d876a3 Mon Sep 17 00:00:00 2001 From: FEARmeR Date: Tue, 23 May 2023 11:36:22 +0100 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B0=D1=8F=20=D1=83=D0=B1=D0=BE=D1=80=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/LandingPages/Project/EditProject.vue | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/views/LandingPages/Project/EditProject.vue b/src/views/LandingPages/Project/EditProject.vue index 5998b39..b1a1d4f 100644 --- a/src/views/LandingPages/Project/EditProject.vue +++ b/src/views/LandingPages/Project/EditProject.vue @@ -45,18 +45,7 @@ const getProject = async () => { } }; -// const updateProfile = async () => { -// try { -// const token = computed(() => sessionStorage.getItem('access_token')); -// debugText.value = `Type of token: ${typeof token.value}, Value of token: ${token.value}`; -// const headers = { 'Authorization': `Bearer ${token.value}` }; -// await axios.patch(`http://somebodyhire.me/api/profile/${userId.value}/`, profileData.value, { headers }); -// router.push('/ViewMyProfile'); -// } catch (error) { -// debugText.value = `Error: ${JSON.stringify(error, null, 2)}`; -// console.error(error); -// } -// }; + const updateProject = async () => { try {