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