chore: apply credo suggestions (#3)
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Mainly add module docs and fix some aliases.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
defmodule Wabanex.Users.Create do
|
||||
@moduledoc """
|
||||
Context for user creation.
|
||||
"""
|
||||
alias Wabanex.{Repo, User}
|
||||
|
||||
def call(params) do
|
||||
|
@@ -1,4 +1,7 @@
|
||||
defmodule Wabanex.Users.Get do
|
||||
@moduledoc """
|
||||
Context to fetch a given user and its current training.
|
||||
"""
|
||||
import Ecto.Query
|
||||
|
||||
alias Wabanex.{Repo, Training, User}
|
||||
|
Reference in New Issue
Block a user