FIX: send token by storage

This commit is contained in:
marcos-silva-rodrigues
2026-02-02 15:37:13 -03:00
parent 0e038d0b12
commit cd4382c1ff
3 changed files with 192 additions and 6 deletions
@@ -19,8 +19,9 @@ export class StorageExplorerService {
method: string,
path: string,
user: RequestUser,
token: string,
body?: any,
query?: Record<string, any>,
query?: Record<string, any>
): Promise<any> {
// Validate customer_id is present for multi-tenant isolation
if (!user.customer_id) {
@@ -41,6 +42,7 @@ export class StorageExplorerService {
}
const headers: Record<string, string> = {
'Authorization': token,
'content-type': 'application/json',
};