WalidMoovin 2 years ago
parent
commit
f83ed35e6d
  1. 3
      front/volume/src/components/Profile.svelte

3
front/volume/src/components/Profile.svelte

@ -37,7 +37,8 @@
try { try {
const response = await fetch(api + '/avatar', { const response = await fetch(api + '/avatar', {
method: 'POST', method: 'POST',
body: formData body: formData,
mode: 'cors'
}); });
const data = await response.json(); const data = await response.json();

Loading…
Cancel
Save