diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-05-22 17:55:40 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-06-01 01:57:19 +0200 |
commit | 0bc82730d56dfc15f0226885fe14775fa27b40b7 (patch) | |
tree | f7a7136032cffd479cb0e0abf689e18774f6f4e1 /lib | |
parent | ff3626bcd788d464d1a0dc1bdf37f92ef736fe16 (diff) | |
download | pleroma-0bc82730d56dfc15f0226885fe14775fa27b40b7.tar.gz |
mix.exs: Apply OTP24 fixes to web_push_encryption
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/http/web_push.ex | 4 |
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 |