anonymousland-synapse/synapse/rest
Lukas Lihotzki 2c240213f4
Fix requestOpenIdToken response: integer expires_in (#10175)
`expires_in` must be an integer according to the OpenAPI spec:
https://github.com/matrix-org/matrix-doc/blob/master/data/api/client-server/definitions/openid_token.yaml#L32

True division (`/`) returns a float instead (`"expires_in": 3600.0`).
Floor division (`//`) returns an integer, so the response is spec compliant.

Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
2021-06-16 13:16:35 +01:00
..
admin Correct type hints for parse_string(s)_from_args. (#10137) 2021-06-08 08:30:48 -04:00
client Fix requestOpenIdToken response: integer expires_in (#10175) 2021-06-16 13:16:35 +01:00
consent Correct type hints for parse_string(s)_from_args. (#10137) 2021-06-08 08:30:48 -04:00
key Rewrite the KeyRing (#10035) 2021-06-02 16:37:59 +01:00
media Correct type hints for parse_string(s)_from_args. (#10137) 2021-06-08 08:30:48 -04:00
synapse Make DomainSpecificString an attrs class (#9875) 2021-04-23 15:46:29 +01:00
__init__.py Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 2021-06-15 07:45:14 -04:00
health.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
well_known.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00