aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/api/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/api/views.py')
-rw-r--r--mediagoblin/api/views.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/api/views.py b/mediagoblin/api/views.py
index d3eaacc9..c515a8fa 100644
--- a/mediagoblin/api/views.py
+++ b/mediagoblin/api/views.py
@@ -500,6 +500,10 @@ def feed_endpoint(request, outbox=None):
"No such 'image' with id '{0}'.".format(obj_id)
)
+ # Okay lets do our best to ensure there is a public_id for
+ # this image, there most likely is but it's important!
+ entry.get_public_id(request.urlgen)
+
# Make the delete activity
generator = create_generator(request)
activity = create_activity(