mix.exs: Apply OTP24 fixes to web_push_encryption

This commit is contained in:
Haelwenn (lanodan) Monnier 2021-05-22 17:55:40 +02:00
commit ab32ea44f0
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
3 changed files with 5 additions and 4 deletions

View file

@ -5,8 +5,8 @@
defmodule Pleroma.HTTP.WebPush do
@moduledoc false
def post(url, payload, headers) do
def post(url, payload, headers, options \\ []) do
list_headers = Map.to_list(headers)
Pleroma.HTTP.post(url, payload, list_headers)
Pleroma.HTTP.post(url, payload, list_headers, options)
end
end