Hawkowl/fix missing auth (#5328)

pull/14/head
Amber Brown 6 years ago committed by GitHub
parent fec2dcb1a5
commit b2b90b7d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/5328.misc
  2. 1
      synapse/rest/client/v1/voip.py

@ -0,0 +1 @@
The base classes for the v1 and v2_alpha REST APIs have been unified.

@ -29,6 +29,7 @@ class VoipRestServlet(RestServlet):
def __init__(self, hs): def __init__(self, hs):
super(VoipRestServlet, self).__init__() super(VoipRestServlet, self).__init__()
self.hs = hs self.hs = hs
self.auth = hs.get_auth()
@defer.inlineCallbacks @defer.inlineCallbacks
def on_GET(self, request): def on_GET(self, request):

Loading…
Cancel
Save