fix: try send avatar all in one go
This commit is contained in:
parent
296c4b423c
commit
b5a6d29ba0
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class AppService:
|
||||||
"Authorization": f"Bearer {self.as_token}",
|
"Authorization": f"Bearer {self.as_token}",
|
||||||
"Content-Type": res.content_type,
|
"Content-Type": res.content_type,
|
||||||
},
|
},
|
||||||
chunked=await res.content.read(),
|
data=await res.content.read(),
|
||||||
params={"filename":str(uuid.uuid4())},
|
params={"filename":str(uuid.uuid4())},
|
||||||
) as res:
|
) as res:
|
||||||
res.raise_for_status()
|
res.raise_for_status()
|
||||||
|
|
Loading…
Reference in a new issue