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
+6 -15
View File
@@ -8440,22 +8440,13 @@
]
}
},
"/storage-explorer/storage/delete": {
"delete": {
"operationId": "StorageExplorerController_deleteFile",
"summary": "Delete a file from storage",
"parameters": [
{
"name": "file_path",
"required": true,
"in": "query",
"schema": {
"type": "string"
}
}
],
"/storage-explorer/storage/link-to-table": {
"post": {
"operationId": "StorageExplorerController_linkFileToTable",
"summary": "Link an existing file in storage to a table",
"parameters": [],
"responses": {
"200": {
"201": {
"description": "",
"content": {
"application/json": {
@@ -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?.(),
};