CHORE: remove unecessary header for request

This commit is contained in:
viniciusgadea
2026-01-14 06:40:52 -03:00
parent 8e63757738
commit b44d23552c
2 changed files with 6 additions and 27 deletions
@@ -42,12 +42,6 @@ export class StorageExplorerService {
const headers: Record<string, string> = {
'content-type': 'application/json',
// Forward user context for logging
'x-customer-id': user.customer_id,
'x-customer-name': user.customer_name || '',
'x-user-id': user.user_id || '',
'x-username': user.username || '',
'x-customer-tier': user.customer_tier || '',
};
this.logger.info('Proxying request to storage-explorer', {
@@ -132,12 +126,6 @@ export class StorageExplorerService {
}
const headers: Record<string, string> = {
// Forward user context for logging
'x-customer-id': user.customer_id,
'x-customer-name': user.customer_name || '',
'x-user-id': user.user_id || '',
'x-username': user.username || '',
'x-customer-tier': user.customer_tier || '',
// Let axios set Content-Type for multipart/form-data with boundary
...formData.getHeaders?.(),
};