summary refs log tree commit diff
path: root/synapse/rest/media
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-01-17 10:06:14 +0000
committerErik Johnston <erik@matrix.org>2018-01-17 10:06:14 +0000
commitd728c47142019da2896bba7a84ac92e9959fd7af (patch)
treef526de925b00e307c71bd76a661787659e50621f /synapse/rest/media
parentUse local vars (diff)
downloadsynapse-d728c47142019da2896bba7a84ac92e9959fd7af.tar.xz
Add docstring
Diffstat (limited to 'synapse/rest/media')
-rw-r--r--synapse/rest/media/v1/media_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index 22f86781f7..97c82c150e 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -532,7 +532,7 @@ class MediaRepository(object):
             media_id (str): The media ID of the content. (This is the same as
                 the file_id for local content)
             file_id (str): Local file ID
-            media_type (str)
+            media_type (str): The content type of the file
             url_cache (bool): If we are thumbnailing images downloaded for the URL cache,
                 used exclusively by the url previewer