mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 01:44:02 +01:00
Hawkowl/fix missing auth (#5328)
This commit is contained in:
parent
fec2dcb1a5
commit
b2b90b7d34
2 changed files with 2 additions and 0 deletions
1
changelog.d/5328.misc
Normal file
1
changelog.d/5328.misc
Normal file
|
@ -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 a new issue