Pleroma.Web.Params --> Pleroma.Web.Utils.Params
This commit is contained in:
parent
0877b120c3
commit
ec65b7ae29
7 changed files with 7 additions and 7 deletions
|
|
@ -34,7 +34,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.BooleanLike do
|
|||
|
||||
def cast(%Cast{value: value} = context) do
|
||||
context
|
||||
|> Map.put(:value, Pleroma.Web.Params.truthy_param?(value))
|
||||
|> Map.put(:value, Pleroma.Web.Utils.Params.truthy_param?(value))
|
||||
|> Cast.ok()
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue