aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/http/web_push.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-07-13 22:47:47 -0500
committerAlex Gleason <alex@alexgleason.me>2021-07-13 22:47:47 -0500
commitdeb3f911366925bcc342a4a0deb44a2e7da7f1ba (patch)
treec8e587198f64c4c5f991a05561943c6bd0af465b /lib/pleroma/http/web_push.ex
parent5e88796784e0ac2dbf57d9cf954fdc8ae8aeae43 (diff)
parent173e977e283789a814278c63bc81f40a13942e21 (diff)
downloadpleroma-deb3f911366925bcc342a4a0deb44a2e7da7f1ba.tar.gz
Merge remote-tracking branch 'pleroma/develop' into admin-api-users-sort
Diffstat (limited to 'lib/pleroma/http/web_push.ex')
-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