• Stefy Lanza (nextime / spora )'s avatar
    Fix finalize_upload to always return JSON responses · 86702bbe
    Stefy Lanza (nextime / spora ) authored
    - Improved FileLike class with proper file handling and close() method
    - Added better error handling and validation for JSON input
    - Added try/finally block to ensure file handles are closed
    - Added detailed error logging with traceback for debugging
    - Ensures server always returns JSON instead of HTML error pages
    86702bbe
Name
Last commit
Last update
..
api Loading commit data...
auth Loading commit data...
database Loading commit data...
main Loading commit data...
templates Loading commit data...
upload Loading commit data...
utils Loading commit data...
__init__.py Loading commit data...
models.py Loading commit data...