mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
daemon: Remove redundant or clause.
This commit is contained in:
parent
e84bcea389
commit
d90eebf1e0
@ -269,7 +269,7 @@ class ProxyDaemon:
|
||||
params["access_token"] = token
|
||||
|
||||
if data:
|
||||
data = data or await request.text()
|
||||
data = data
|
||||
headers.pop("Content-Length", None)
|
||||
else:
|
||||
data = await request.text()
|
||||
|
Loading…
Reference in New Issue
Block a user