Skip to content
Snippets Groups Projects
Commit 707cd938 authored by Haelwenn's avatar Haelwenn
Browse files

Merge branch 'fix/activity_get_by_id' into 'develop'

Add get_by_id to activity.ex

See merge request pleroma/pleroma!695
parents 7d55bb08 e460820f
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,10 @@ defmodule Pleroma.Activity do
)
end
def get_by_id(id) do
Repo.get(Activity, id)
end
# TODO:
# Go through these and fix them everywhere.
# Wrong name, only returns create activities
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment