[Credo] Remove parentesis on argument-less functions
This commit is contained in:
parent
a3a9cec483
commit
fb82f6fc7c
19 changed files with 40 additions and 40 deletions
|
|
@ -17,7 +17,7 @@ defmodule Pleroma.Uploaders.Swift.Keystone do
|
|||
|> Poison.decode!()
|
||||
end
|
||||
|
||||
def get_token() do
|
||||
def get_token do
|
||||
settings = Pleroma.Config.get(Pleroma.Uploaders.Swift)
|
||||
username = Keyword.fetch!(settings, :username)
|
||||
password = Keyword.fetch!(settings, :password)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue