Skip to content

Commit 4b03ad8

Browse files
committed
Shorten comments
1 parent 36a3a69 commit 4b03ad8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lib/cadet_web/admin_controllers/admin_grading_controller.ex

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,15 @@ defmodule CadetWeb.AdminGradingController do
6060

6161
@doc """
6262
# Description
63-
Attains every assessment submission registered, regardless of grading or attempted status.
64-
This is a special call of the general `index` submission whereby pagination is bypassed.
63+
Attains every assessment submission registered, regardless of grading
64+
or attempted status. This is a special call of the general `index`
65+
submission whereby pagination is bypassed.
6566
"""
6667
def index_all_submissions(conn, _) do
6768
# 100 billion page size here should cover all feasible table rows in 1 page
6869
# given that the hard limit of pages in a postgres database is ~4 billion.
6970
# (https://www.postgresql.org/docs/current/limits.html)
70-
index(
71-
conn,
72-
%{"group" => "false", "pageSize" => "100000000000", "offset" => "0"}
73-
)
71+
index(conn, %{"group" => "false", "pageSize" => "100000000000", "offset" => "0"})
7472
end
7573

7674
def show(conn, %{"submissionid" => submission_id}) when is_ecto_id(submission_id) do

0 commit comments

Comments
 (0)