Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit cfe19ea

Browse files
committed
chore(clean up): unused variables
1 parent a4345ee commit cfe19ea

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/groupher_server/mailer/email.ex

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ defmodule GroupherServer.Email do
77
import Bamboo.Email
88
import Helper.Utils, only: [get_config: 2]
99

10-
alias GroupherServer.{Accounts, Billing, CMS, Email, Mailer}
10+
alias GroupherServer.{Accounts, Billing, Email, Mailer}
1111

1212
alias Accounts.User
1313
alias Billing.BillRecord
14-
# alias CMS.{Post, Job, Repo, Video}
1514
alias Email.Templates
1615
alias Mailer
1716

lib/groupher_server_web/controller/og_controller.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule GroupherServerWeb.Controller.OG do
2626
error_response(conn, url)
2727
end
2828

29-
defp ok_response(conn, url, %OpenGraph{title: nil, description: description} = info)
29+
defp ok_response(conn, _url, %OpenGraph{title: nil, description: description} = info)
3030
when not is_nil(description) do
3131
json(conn, %{
3232
success: 1,
@@ -40,7 +40,7 @@ defmodule GroupherServerWeb.Controller.OG do
4040
})
4141
end
4242

43-
defp ok_response(conn, url, info) do
43+
defp ok_response(conn, _url, info) do
4444
json(conn, %{
4545
success: 1,
4646
meta: %{

0 commit comments

Comments
 (0)