mirror of
https://github.com/creativetimofficial/vue-material-kit.git
synced 2025-05-23 12:14:22 +08:00
Небольшая уборка
This commit is contained in:
parent
289d39e590
commit
c6b9bc7644
@ -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 () => {
|
const updateProject = async () => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user