1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

do the same for soapbox

This commit is contained in:
FloatingGhost 2022-07-29 10:10:12 +01:00
parent 4f6caae209
commit db99edacfe

View file

@ -193,6 +193,7 @@ def fix_quote_url(%{"quoteUri" => quote_url} = object, options)
def fix_quote_url(%{"quoteUrl" => quote_url} = object, options) do def fix_quote_url(%{"quoteUrl" => quote_url} = object, options) do
object object
|> Map.put("quoteUri", quote_url) |> Map.put("quoteUri", quote_url)
|> Map.delete("quoteUrl")
|> fix_quote_url(options) |> fix_quote_url(options)
end end