Pleroma.Web.Params --> Pleroma.Web.Utils.Params

This commit is contained in:
Alex Gleason 2021-06-07 16:01:26 -05:00 • committed by Mark Felder
commit ec65b7ae29
7 changed files with 7 additions and 7 deletions

View file

@ -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