anonymousland-synapse/synapse/rest/client
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
..
v1 Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
v2_alpha Fix requestOpenIdToken response: integer expires_in (#10175) 2021-06-16 13:16:35 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
transactions.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
versions.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00