Logo
Explore Help
Register Sign In
ahmed-bakr1988/SaaS-PDF
1
0
Fork 0
You've already forked SaaS-PDF
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f3470229242cccd7fa4daaa61f78b3ead9a22db5
SaaS-PDF/backend/app/services/account_service.py
Your Name 0174f935c3 fix: resolve download 404 caused by file UUID / Celery task ID mismatch\n\nThe download route checked access using the file UUID from the URL,\nbut the session and usage_events only stored the Celery task ID.\nThese are different UUIDs, causing all downloads to return 404.\n\nFixes:\n- Add has_download_access() to check file_history table as fallback\n- Update assert_web/api_task_access to use file_history lookup\n- Remember file UUID in session when task status returns SUCCESS"
2026-03-20 10:07:48 +02:00

24 KiB
Raw Blame History

View Raw
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 45ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API