Fix lint errors

This commit is contained in:
Alibek Omarov 2021-12-27 03:12:32 +03:00
parent f66675f349
commit f02715c4b2
3 changed files with 4 additions and 3 deletions

View file

@ -945,7 +945,8 @@
%{
key: :privileged_staff,
type: :boolean,
description: "Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)"
description:
"Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)"
}
]
},

View file

@ -10,8 +10,8 @@ defmodule Pleroma.Web.Plugs.EnsureStaffPrivilegedPlug do
import Pleroma.Web.TranslationHelpers
import Plug.Conn
alias Pleroma.User
alias Pleroma.Config
alias Pleroma.User
def init(options) do
options