Skip to content

Commit 4c01579

Browse files
committed
Fixed formatting
1 parent 2f828d2 commit 4c01579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cadet/course/groups.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule Cadet.Course.Groups do
1111
@doc """
1212
Returns a list of groups containing information on the each group's id, avenger name and group name
1313
"""
14-
@type group_overview :: %{id: integer, avenger_name: String.t, name: String.t}
14+
@type group_overview :: %{id: integer, avenger_name: String.t(), name: String.t()}
1515

1616
@spec get_group_overviews(%User{}) :: [group_overview]
1717
def get_group_overviews(_user = %User{role: role}) do
@@ -20,6 +20,7 @@ defmodule Cadet.Course.Groups do
2020
Group
2121
|> Repo.all()
2222
|> Enum.map(fn group_info -> get_group_info(group_info) end)
23+
2324
{:ok, overviews}
2425
else
2526
{:error, {:unauthorized, "Unauthorized"}}

lib/cadet_web/controllers/group_controller.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ defmodule CadetWeb.GroupController do
1818
|> put_status(status)
1919
|> text(message)
2020
end
21-
2221
end
2322

2423
swagger_path :index do

0 commit comments

Comments
 (0)