diff options
| author | YurenHao0426 <blackhao0426@gmail.com> | 2026-02-13 18:26:40 +0000 |
|---|---|---|
| committer | YurenHao0426 <blackhao0426@gmail.com> | 2026-02-13 18:26:40 +0000 |
| commit | fe5f0842bddb68ccb9862d86fd255af2694a8b52 (patch) | |
| tree | d7e96773c5adf728cdced1a3e4ffb0ccd8fa20dc /backend/app/schemas.py | |
| parent | de9e6207c84ceb55ef4f377d68f93a117f1f1cc2 (diff) | |
Fix file upload/delete using user API keys instead of env vars only
The upload_file and delete_file endpoints were calling API clients
without passing user-specific API keys, falling back only to environment
variables. Now both endpoints resolve keys from the authenticated user's
settings via get_user_api_key(), fixing "API key not found" errors for
users who configured keys through the frontend.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'backend/app/schemas.py')
0 files changed, 0 insertions, 0 deletions
