Files
ragflow/api/apps
Ramin M. 731e2d5f26 api key delete bug - Bug #3045 (#12299)
Description:
Fixed an issue where deleting an API token would fail because it was
incorrectly using current_user.id as the tenant_id instead of querying
the actual tenant ID from UserTenantService.

Changes:

Updated rm() endpoint to fetch the correct tenant_id from
UserTenantService before deleting the API token
Added proper error handling with try/except block
Code style cleanup: consistent quote usage and formatting
Related Issue: #3045

https://github.com/infiniflow/ragflow/issues/3045

Co-authored-by: Mardani, Ramin <ramin.mardani@sscinc.com>
2025-12-30 11:27:04 +08:00
..
2025-12-25 16:59:05 +08:00
2025-12-25 21:18:13 +08:00
2025-12-25 21:18:13 +08:00
2025-12-22 16:47:21 +08:00
2025-12-25 21:18:13 +08:00
2025-12-12 10:23:40 +08:00
2025-12-22 16:47:21 +08:00