Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
MomentQYC authored Sep 29, 2023
1 parent b8b8604 commit b277fc5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions synapse/rest/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ class VersionServlet(RestServlet):
PATTERNS = admin_patterns("/server_version$")

def __init__(self, hs: "HomeServer"):
self.res = {
"server_version": SYNAPSE_VERSION
}
self.res = {"server_version": SYNAPSE_VERSION}

def on_GET(self, request: SynapseRequest) -> Tuple[int, JsonDict]:
return HTTPStatus.OK, self.res
Expand Down

0 comments on commit b277fc5

Please sign in to comment.