mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Forgot an {:ok} tuple
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f87b042c72
commit
b2db190056
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ config :mobilizon, Mobilizon.Mailer,
|
|||
no_mx_lookups: false
|
||||
|
||||
# Do not print debug messages in production
|
||||
config :logger, level: System.get_env("MOBILIZON_LOGLEVEL") |> String.to_atom || :info
|
||||
config :logger, level: System.get_env("MOBILIZON_LOGLEVEL") |> String.to_atom() || :info
|
||||
|
||||
# ## SSL Support
|
||||
#
|
||||
|
|
|
@ -43,7 +43,7 @@ defmodule Mobilizon.Service.HTTPSignatures do
|
|||
|
||||
defp prepare_public_key(public_key_code) do
|
||||
with [public_key_entry] <- :public_key.pem_decode(public_key_code) do
|
||||
:public_key.pem_entry_decode(public_key_entry)
|
||||
{:ok, :public_key.pem_entry_decode(public_key_entry)}
|
||||
else
|
||||
_err ->
|
||||
{:error, :pem_decode_error}
|
||||
|
|
Loading…
Reference in a new issue