summary refs log tree commit diff
path: root/synapse/rest/admin/users.py
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-02-22 15:29:09 -0500
committerGitHub <noreply@github.com>2023-02-22 15:29:09 -0500
commit9bb2eac71962970d02842bca441f4bcdbbf93a11 (patch)
tree13b88fe1a0eaa0a02b353623474a8439e5baf46c /synapse/rest/admin/users.py
parentTighten the default rate limit of creating new devices. (#15135) (diff)
downloadsynapse-9bb2eac71962970d02842bca441f4bcdbbf93a11.tar.xz
Bump black from 22.12.0 to 23.1.0 (#15103)
Diffstat (limited to 'synapse/rest/admin/users.py')
-rw-r--r--synapse/rest/admin/users.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/synapse/rest/admin/users.py b/synapse/rest/admin/users.py
index 0c0bf540b9..7cc4db20d6 100644
--- a/synapse/rest/admin/users.py
+++ b/synapse/rest/admin/users.py
@@ -683,8 +683,12 @@ class AccountValidityRenewServlet(RestServlet):
         await assert_requester_is_admin(self.auth, request)
 
         if self.account_activity_handler.on_legacy_admin_request_callback:
-            expiration_ts = await (
-                self.account_activity_handler.on_legacy_admin_request_callback(request)
+            expiration_ts = (
+                await (
+                    self.account_activity_handler.on_legacy_admin_request_callback(
+                        request
+                    )
+                )
             )
         else:
             body = parse_json_object_from_request(request)