Fixes 'list indices must be integers or slices, not str' error when uploading a duplicate file. execute_query returns a list, so accessing existing_file['file_id'] caused TypeError. Now uses execute_query_single which returns a single dict row. |
||
|---|---|---|
| .. | ||
| router.py | ||
| supplier_invoices.py | ||