mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-21 21:27:11 +00:00
Unify v1 and v2 REST client APIs (#5226)
This commit is contained in:
1 parent
d828d1dc57
commit
2889b05554
43 files changed
+296
-317
No files matched your search
@@ -20,9 +20,7 @@ class CallVisitor(ast.NodeVisitor):
|
||||
else:
|
||||
return
|
||||
|
||||
if name == "client_path_patterns":
|
||||
PATTERNS_V1.append(node.args[0].s)
|
||||
elif name == "client_v2_patterns":
|
||||
if name == "client_patterns":
|
||||
PATTERNS_V2.append(node.args[0].s)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user