Multipart upload

This commit is contained in:
2024-08-21 01:53:16 +08:00
parent 65d9253876
commit aa94dfcfe0
7 changed files with 233 additions and 137 deletions

View File

@ -113,7 +113,7 @@ class _PersonalizeScreenState extends State<PersonalizeScreen> {
Attachment? attachResult;
try {
attachResult = await provider.createAttachment(
attachResult = await provider.createAttachmentDirectly(
await file.readAsBytes(),
file.path,
'avatar',