projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'openapi/polls' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
object_validators
/
types
/
object_id.ex
diff --git
a/lib/pleroma/web/activity_pub/object_validators/types/object_id.ex
b/lib/pleroma/web/activity_pub/object_validators/types/object_id.ex
index f6e749b337249db0c71e0d1b5b0ebc7dcbababd5..f71f763704be08664ec3b3b0c3461d7c6c008e9c 100644
(file)
--- a/
lib/pleroma/web/activity_pub/object_validators/types/object_id.ex
+++ b/
lib/pleroma/web/activity_pub/object_validators/types/object_id.ex
@@
-15,15
+15,9
@@
defmodule Pleroma.Web.ActivityPub.ObjectValidators.Types.ObjectID do
def cast(%{"id" => object}), do: cast(object)
def cast(%{"id" => object}), do: cast(object)
- def cast(_) do
- :error
- end
+ def cast(_), do: :error
- def dump(data) do
- {:ok, data}
- end
+ def dump(data), do: {:ok, data}
- def load(data) do
- {:ok, data}
- end
+ def load(data), do: {:ok, data}
end
end