addict v0.3.0 Addict.Interactors.GetUserById

Summary

Functions

Gets user by e-mail. Returns {:ok, user} or {:error, [user_id: "Unable to find user"]}

Functions

call(id, schema \\ Addict.Configs.user_schema(), repo \\ Addict.Configs.repo())

Gets user by e-mail. Returns {:ok, user} or {:error, [user_id: "Unable to find user"]}