diff --git a/core/config/runtime.exs b/core/config/runtime.exs index 4a5e955214..9bd1542acc 100644 --- a/core/config/runtime.exs +++ b/core/config/runtime.exs @@ -120,9 +120,10 @@ if config_env() == :prod do config :logger, level: System.get_env("LOG_LEVEL", "info") |> String.to_existing_atom() - config :core, opp_client_options: [ - auth: {:bearer, System.fetch_env!("OPP_API_KEY")} - ] + config :core, + opp_client_options: [ + auth: {:bearer, System.fetch_env!("OPP_API_KEY")} + ] if sentry_dsn = System.get_env("SENTRY_DSN") do config :sentry, diff --git a/core/lib/opp_client.ex b/core/lib/opp_client.ex index e510377372..53bca78b84 100644 --- a/core/lib/opp_client.ex +++ b/core/lib/opp_client.ex @@ -55,7 +55,7 @@ defmodule OPPClient do ], return_url: [type: :string, required: true], notify_url: [type: :string, required: true], - metadata: [type: :map], + metadata: [type: :map] ) # create