diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-05-20 17:23:02 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-05-21 12:22:44 -0500 |
commit | df83d6fb41603d6519d22a2857c5039511aea110 (patch) | |
tree | a0cfac968c3c0dd39a1453c932caf7950b87680c | |
parent | 8a6c1fe6176e60b36ac491e2060f4f2079dc6515 (diff) | |
download | pleroma-df83d6fb41603d6519d22a2857c5039511aea110.tar.gz |
Cycles: fix lib/pleroma/gun.ex cyclic dependency
-rw-r--r-- | lib/pleroma/gun.ex | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pleroma/gun.ex b/lib/pleroma/gun.ex index f9c828fac..bef1c9872 100644 --- a/lib/pleroma/gun.ex +++ b/lib/pleroma/gun.ex @@ -11,9 +11,7 @@ defmodule Pleroma.Gun do @callback await(pid(), reference()) :: {:response, :fin, 200, []} @callback set_owner(pid(), pid()) :: :ok - @api Pleroma.Config.get([Pleroma.Gun], Pleroma.Gun.API) - - defp api, do: @api + defp api, do: Pleroma.Config.get([Pleroma.Gun], Pleroma.Gun.API) def open(host, port, opts), do: api().open(host, port, opts) |