fix: Fix account db repo definition (#10714)

pull/10805/head
Victor Baranov 2 months ago committed by GitHub
parent 74e68ad418
commit f3e5520a47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/explorer/lib/explorer/application.ex

@ -176,7 +176,7 @@ defmodule Explorer.Application do
end end
defp account_repo do defp account_repo do
if System.get_env("ACCOUNT_DATABASE_URL") || Mix.env() == :test do if Application.get_env(:explorer, Explorer.Account)[:enabled] || Mix.env() == :test do
[Explorer.Repo.Account] [Explorer.Repo.Account]
else else
[] []

Loading…
Cancel
Save