mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-17 03:43:39 +12:00
fix: set up api client for swoosh
This commit is contained in:
parent
1e9dff5c1a
commit
59e9f1e8df
2 changed files with 4 additions and 2 deletions
|
@ -50,4 +50,5 @@ config :logger, level: :info
|
|||
#
|
||||
# Check `Plug.SSL` for all available options in `force_ssl`.
|
||||
|
||||
config :ash_hq, AshHq.Mailer, adapter: Swoosh.Adapters.PostmarkAdapter
|
||||
config :ash_hq, AshHq.Mailer, adapter: Swoosh.Adapters.Postmark
|
||||
config :swoosh, :api_client, Swoosh.ApiClient.Finch
|
||||
|
|
|
@ -8,7 +8,8 @@ defmodule AshHq.Application do
|
|||
@impl true
|
||||
def start(_type, _args) do
|
||||
children = [
|
||||
{Finch, name: AshHq.Finch},
|
||||
Supervisor.child_spec({Finch, name: AshHq.Finch}, id: AshHq.Finch),
|
||||
Supervisor.child_spec({Finch, name: Swoosh.Finch}, id: Swoosh.Finch),
|
||||
# Start the Ecto repository
|
||||
AshHq.Repo,
|
||||
# Start the Telemetry supervisor
|
||||
|
|
Loading…
Reference in a new issue