aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-05-22 17:55:40 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-06-03 19:11:16 +0200
commitab32ea44f0af54f9dd87f9a53378b1358f7ac1f8 (patch)
tree6969e09a34bf226e882e08ca4506928925a60b6e /lib
parent2768063387fcfb310eaacf517ad6fc3521e9eee6 (diff)
downloadpleroma-ab32ea44f0af54f9dd87f9a53378b1358f7ac1f8.tar.gz
mix.exs: Apply OTP24 fixes to web_push_encryption
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/http/web_push.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/http/web_push.ex b/lib/pleroma/http/web_push.ex
index 51f72fbf8..16bbe6e8c 100644
--- a/lib/pleroma/http/web_push.ex
+++ b/lib/pleroma/http/web_push.ex
@@ -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