Amruth Pillai
|
19470c8cd2
|
refactor(api,server): storage — sync S3 client, dead upload types, shared inferContentType
- S3StorageService: replace async createClient/getClient/clientPromise chain with a
synchronous constructor field; new S3Client() is synchronous (finding 7)
- uploadFile: delete speculative screenshot/pdf upload types (never called); hardcode
picture key and simplify to 3 lines (finding 6)
- Export inferContentType from @reactive-resume/api/features/storage (finding 8)
- uploads.ts: import inferContentType from storage instead of local duplicate; inline
buildResponseHeaders into handleUpload (findings 11, 12)
Claude-Session: https://claude.ai/code/session_012Bnvt1MghwHj4qQRxuQUGa
|
2026-07-04 20:33:34 +02:00 |
|