projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pleroma.Web.ControllerHelper.truthy_param?/1 --> Pleroma.Web.Params.truthy_param?/1
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
schemas
/
boolean_like.ex
diff --git
a/lib/pleroma/web/api_spec/schemas/boolean_like.ex
b/lib/pleroma/web/api_spec/schemas/boolean_like.ex
index 778158f66f79790655ce6ac159feff9058d09c5e..1feda3baa38f482d49e390e14cc56de22843d850 100644
(file)
--- a/
lib/pleroma/web/api_spec/schemas/boolean_like.ex
+++ b/
lib/pleroma/web/api_spec/schemas/boolean_like.ex
@@
-34,7
+34,7
@@
defmodule Pleroma.Web.ApiSpec.Schemas.BooleanLike do
def cast(%Cast{value: value} = context) do
context
- |> Map.put(:value, Pleroma.Web.
ControllerHelper
.truthy_param?(value))
+ |> Map.put(:value, Pleroma.Web.
Params
.truthy_param?(value))
|> Cast.ok()
end
end