mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
daemon: The filter query parameter in a sync needs to be a str.
This commit is contained in:
parent
cf07cfdc16
commit
6988a1de95
@ -518,7 +518,7 @@ class ProxyDaemon:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if isinstance(sync_filter, dict):
|
if isinstance(sync_filter, dict):
|
||||||
sync_filter = self.sanitize_filter(sync_filter)
|
sync_filter = json.dumps(self.sanitize_filter(sync_filter))
|
||||||
|
|
||||||
query["filter"] = sync_filter
|
query["filter"] = sync_filter
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user