1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

Raise on usage of old function.

This commit is contained in:
lain 2018-11-20 20:14:38 +01:00
parent 0896cf4c0f
commit d3180e0ccc

View file

@ -61,9 +61,7 @@ def follow_changeset(struct, params \\ %{}) do
end
def info_changeset(struct, params \\ %{}) do
struct
|> cast(params, [:info])
|> validate_required([:info])
raise "NOT VALID ANYMORE"
end
def user_info(%User{} = user) do