mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Stop using Finch as Swoosh http client
This commit is contained in:
@@ -62,6 +62,7 @@ defmodule Web.MixProject do
|
||||
{:observer_cli, "~> 1.7"},
|
||||
|
||||
# Mailer deps
|
||||
{:hackney, "~> 1.20"},
|
||||
{:phoenix_swoosh, "~> 1.0"},
|
||||
{:gen_smtp, "~> 1.0"},
|
||||
|
||||
|
||||
@@ -201,7 +201,9 @@ config :logger, :console,
|
||||
# Use Jason for JSON parsing in Phoenix
|
||||
config :phoenix, :json_library, Jason
|
||||
|
||||
config :swoosh, :api_client, Swoosh.ApiClient.Finch
|
||||
# TODO: This is buggy, the return value is different
|
||||
# from the one you would get with Hackney:
|
||||
# config :swoosh, :api_client, Swoosh.ApiClient.Finch
|
||||
|
||||
config :web, Web.Mailer,
|
||||
adapter: Domain.Mailer.NoopAdapter,
|
||||
|
||||
Reference in New Issue
Block a user