aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/push/subscription.ex
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-03-05 05:37:33 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-03-13 04:26:56 +0100
commitc42d34b2ec2dacd9a038f721f7a817ee43cc0a4f (patch)
tree7f658bf7c31adfd5ea4726f90124193213deddf7 /lib/pleroma/web/push/subscription.ex
parent8cd3eada7dec00f4e2ddd24c6a4286a4450281c1 (diff)
downloadpleroma-c42d34b2ec2dacd9a038f721f7a817ee43cc0a4f.tar.gz
[Credo] fix Credo.Check.Readability.MaxLineLength
Diffstat (limited to 'lib/pleroma/web/push/subscription.ex')
-rw-r--r--lib/pleroma/web/push/subscription.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/push/subscription.ex b/lib/pleroma/web/push/subscription.ex
index c90bd2bda..da301fbbc 100644
--- a/lib/pleroma/web/push/subscription.ex
+++ b/lib/pleroma/web/push/subscription.ex
@@ -82,8 +82,8 @@ defmodule Pleroma.Web.Push.Subscription do
end
# Some webpush clients (e.g. iOS Toot!) use an non urlsafe base64 as an encoding for the key.
- # However, the web push rfs specify to use base64 urlsafe, and the `web_push_encryption` library we use
- # requires the key to be properly encoded. So we just convert base64 to urlsafe base64.
+ # However, the web push rfs specify to use base64 urlsafe, and the `web_push_encryption` library
+ # we use requires the key to be properly encoded. So we just convert base64 to urlsafe base64.
defp ensure_base64_urlsafe(string) do
string
|> String.replace("+", "-")