Fix credo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-07-04 17:16:02 +02:00
parent 615e91a05b
commit b60e8b7647
6 changed files with 18 additions and 7 deletions

View File

@@ -66,7 +66,9 @@ defmodule Eventos.Actors.User do
end
defp random_string(length) do
:crypto.strong_rand_bytes(length) |> Base.url_encode64
length
|> :crypto.strong_rand_bytes()
|> Base.url_encode64
end
@doc """