mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-03-30 07:31:49 +02:00
Add get_by_id to activity.ex
This commit is contained in:
parent
8cd853ce0c
commit
e460820fcf
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ defmodule Pleroma.Activity do
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def get_by_id(id) do
|
||||||
|
Repo.get(Activity, id)
|
||||||
|
end
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
# Go through these and fix them everywhere.
|
# Go through these and fix them everywhere.
|
||||||
# Wrong name, only returns create activities
|
# Wrong name, only returns create activities
|
||||||
|
|
Loading…
Reference in a new issue