This commit is contained in:
Iliyan Angelov
2025-11-20 21:06:30 +02:00
parent 44e11520c5
commit a38ab4fa82
77 changed files with 7169 additions and 360 deletions

View File

@@ -322,14 +322,10 @@ const systemSettingsService = {
const formData = new FormData();
formData.append('image', file);
// Don't set Content-Type header - let the browser set it with the correct boundary
const response = await apiClient.post<UploadLogoResponse>(
'/api/admin/system-settings/company/logo',
formData,
{
headers: {
'Content-Type': 'multipart/form-data',
},
}
formData
);
return response.data;
},
@@ -343,14 +339,10 @@ const systemSettingsService = {
const formData = new FormData();
formData.append('image', file);
// Don't set Content-Type header - let the browser set it with the correct boundary
const response = await apiClient.post<UploadFaviconResponse>(
'/api/admin/system-settings/company/favicon',
formData,
{
headers: {
'Content-Type': 'multipart/form-data',
},
}
formData
);
return response.data;
},