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

Commit

Permalink
Ensure an auth instance is available to ListMediaInRoom
Browse files Browse the repository at this point in the history
Fixes #5737
  • Loading branch information
turt2live committed Sep 2, 2019
1 parent 36f34e6 commit 8e55781
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/rest/admin/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class ListMediaInRoom(RestServlet):

def __init__(self, hs):
self.store = hs.get_datastore()
self.auth = hs.get_auth()

@defer.inlineCallbacks
def on_GET(self, request, room_id):
Expand Down

0 comments on commit 8e55781

Please sign in to comment.