Skip to content

Commit 81e5bf7

Browse files
committed
formatting
1 parent f91cc92 commit 81e5bf7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/cadet/ai_comments.ex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ defmodule Cadet.AIComments do
5555
comment = get_latest_ai_comment(submission_id, question_id)
5656

5757
case comment do
58-
nil -> {:error, :not_found}
58+
nil ->
59+
{:error, :not_found}
60+
5961
_ ->
6062
comment
6163
|> AIComment.changeset(%{final_comment: final_comment})
@@ -81,7 +83,9 @@ defmodule Cadet.AIComments do
8183
comment = get_latest_ai_comment(submission_id, question_id)
8284

8385
case comment do
84-
nil -> {:error, :not_found}
86+
nil ->
87+
{:error, :not_found}
88+
8589
_ ->
8690
comment
8791
|> AIComment.changeset(%{comment_chosen: new_comments})

0 commit comments

Comments
 (0)