projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ConnectionPool: fix the previous hotfix
[akkoma]
/
lib
/
pleroma
/
tesla
/
middleware
/
connection_pool.ex
diff --git
a/lib/pleroma/tesla/middleware/connection_pool.ex
b/lib/pleroma/tesla/middleware/connection_pool.ex
index 049db6eb384f0aaca8c530986fb4ff6a3f5c001f..2c5a2b53be0e60d2237a57f6e2441960b9455f03 100644
(file)
--- a/
lib/pleroma/tesla/middleware/connection_pool.ex
+++ b/
lib/pleroma/tesla/middleware/connection_pool.ex
@@
-32,7
+32,8
@@
defmodule Pleroma.Tesla.Middleware.ConnectionPool do
{:ok, env} ->
unless opts[:adapter][:body_as] == :chunks do
ConnectionPool.release_conn(conn_pid)
- {:ok, pop_in(env.opts[:adapter][:conn])}
+ {_, res} = pop_in(env.opts[:adapter][:conn])
+ {:ok, res}
else
{:ok, env}
end