Преглед изворни кода

fix minio error (#2321)

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.11.0
Kevin Hu пре 1 година
родитељ
комит
22acd0ac67
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      api/apps/file_app.py

+ 1
- 1
api/apps/file_app.py Прегледај датотеку

"size": len(blob), "size": len(blob),
} }
file = FileService.insert(file) file = FileService.insert(file)
MINIO.put(last_folder.id, location, blob)
STORAGE_IMPL.put(last_folder.id, location, blob)
file_res.append(file.to_json()) file_res.append(file.to_json())
return get_json_result(data=file_res) return get_json_result(data=file_res)
except Exception as e: except Exception as e:

Loading…
Откажи
Сачувај