projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace `Pleroma.FlakeId` with `flake_id` hex package
[akkoma]
/
lib
/
pleroma
/
web
/
common_api
/
utils.ex
diff --git
a/lib/pleroma/web/common_api/utils.ex
b/lib/pleroma/web/common_api/utils.ex
index 6958c7511cd66ca712ceaff0ccd74aad4b5f9181..633504a4b984bd503937a99def27046120fbd441 100644
(file)
--- a/
lib/pleroma/web/common_api/utils.ex
+++ b/
lib/pleroma/web/common_api/utils.ex
@@
-25,7
+25,7
@@
defmodule Pleroma.Web.CommonAPI.Utils do
# This is a hack for twidere.
def get_by_id_or_ap_id(id) do
activity =
- with true <-
Pleroma.FlakeId.is_
flake_id?(id),
+ with true <-
FlakeId.
flake_id?(id),
%Activity{} = activity <- Activity.get_by_id_with_object(id) do
activity
else