mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-23 18:56:10 +00:00
Spell height more correctly
This commit is contained in:
parent
22c1ffb0a0
commit
038f5afb07
@ -42,7 +42,7 @@ class IdenticonResource(Resource):
|
||||
def render_GET(self, request):
|
||||
name = "/".join(request.postpath)
|
||||
width = int(request.args.get("width", 96))
|
||||
height = int(request.args.get("width", 96))
|
||||
height = int(request.args.get("height", 96))
|
||||
identicon_bytes = self.generate_identicon(name, width, height)
|
||||
request.setHeader(b"Content-Type", b"image/png")
|
||||
return identicon_bytes
|
||||
|
Loading…
Reference in New Issue
Block a user