forked from MirrorHub/synapse
Add forgotten .items()
This commit is contained in:
parent
882ac83d8d
commit
df431b127b
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ def convert_v1_to_v2(server_name, valid_until, keys, certificate):
|
||||||
"server_name": server_name,
|
"server_name": server_name,
|
||||||
"verify_keys": {
|
"verify_keys": {
|
||||||
key_id: {"key": key}
|
key_id: {"key": key}
|
||||||
for key_id, key in keys
|
for key_id, key in keys.items()
|
||||||
},
|
},
|
||||||
"valid_until_ts": valid_until,
|
"valid_until_ts": valid_until,
|
||||||
"tls_fingerprints": [fingerprint(certificate)],
|
"tls_fingerprints": [fingerprint(certificate)],
|
||||||
|
|
Loading…
Reference in a new issue