Fix 4aff4efa typos
This commit is contained in:
parent
4aff4efa8d
commit
5ea0397e2d
3 changed files with 3 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ defmodule Pleroma.Web.RichMedia.Parser do
|
|||
|
||||
defp parse_url(url) do
|
||||
try do
|
||||
{:ok, %Tesla.Env{body: html}} = Pleroma.HTTP.get(url, [], pool: :media)
|
||||
{:ok, %Tesla.Env{body: html}} = Pleroma.HTTP.get(url, [], adapter: [pool: :media])
|
||||
|
||||
html |> maybe_parse() |> get_parsed_data()
|
||||
rescue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue