Skip to content

Commit

Permalink
refactor: Format
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielCWT committed Feb 25, 2024
1 parent 4782984 commit 2095250
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/cadet/email.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ defmodule Cadet.Email do
)
)
end)

base_email()
|> to(avenger.email)
|> assign(:avenger_name, avenger.name)
Expand Down Expand Up @@ -56,8 +57,8 @@ defmodule Cadet.Email do
|> put_html_layout({CadetWeb.LayoutView, "email.html"})
end

# TODO update this to use frontend url
defp build_submission_url(course_id, submission_id) do
"https://sourceacademy.org/courses/#{course_id}/grading/#{submission_id}"
end
# TODO update this to use frontend url
defp build_submission_url(course_id, submission_id) do
"https://sourceacademy.org/courses/#{course_id}/grading/#{submission_id}"
end
end

0 comments on commit 2095250

Please sign in to comment.