aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Tallon <jessica@megworld.co.uk>2014-12-16 12:15:13 +0000
committerJessica Tallon <jessica@megworld.co.uk>2014-12-16 12:15:13 +0000
commit95dbed2d72777182d2b3018fd6fa41bd32aaabaa (patch)
tree6cffcc04872e710ffe87814b808956b6cc003d3d
parent9e715bb07f9a09f5594ed865d3dbd204c71feb50 (diff)
downloadmediagoblin-95dbed2d72777182d2b3018fd6fa41bd32aaabaa.tar.lz
mediagoblin-95dbed2d72777182d2b3018fd6fa41bd32aaabaa.tar.xz
mediagoblin-95dbed2d72777182d2b3018fd6fa41bd32aaabaa.zip
Fix #1078 - Stop 500 error when GET request on inbox
-rw-r--r--mediagoblin/federation/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/federation/views.py b/mediagoblin/federation/views.py
index 5b10fb5b..bd7d9d4a 100644
--- a/mediagoblin/federation/views.py
+++ b/mediagoblin/federation/views.py
@@ -156,7 +156,7 @@ def inbox_endpoint(request, inbox=None):
)
if inbox is None:
- inbox = Activity.query.all()
+ inbox = Activity.query
# We want to make a query for all media on the site and then apply GET
# limits where we can.