Hawkowl/fix missing auth (#5328)
parent
fec2dcb1a5
commit
b2b90b7d34
|
@ -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…
Reference in New Issue