mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-30 19:35:03 +00:00
Don't require pdus in check_auth script
This commit is contained in:
parent
d23bc77e2c
commit
c0d1f37baf
1 changed files with 1 additions and 2 deletions
|
@ -56,10 +56,9 @@ if __name__ == '__main__':
|
|||
|
||||
js = json.load(args.json)
|
||||
|
||||
|
||||
auth = Auth(Mock())
|
||||
check_auth(
|
||||
auth,
|
||||
[FrozenEvent(d) for d in js["auth_chain"]],
|
||||
[FrozenEvent(d) for d in js["pdus"]],
|
||||
[FrozenEvent(d) for d in js.get("pdus", [])],
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue