mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-16 22:19:08 +00:00
CHORE: remove unecessary header for request
This commit is contained in:
@@ -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?.(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user