You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor getAuthConfig and uploadReport in frontend/src/common/api/reportService.ts
- Updated getAuthConfig to include 'Accept' and 'Content-Type' headers for JSON requests.
- Simplified uploadReport by removing unused documentUrl and reportData structure, sending only necessary filePath to the API.
- Added error logging for better debugging of API errors during report uploads.
0 commit comments