Fix log.
This commit is contained in:
parent
e368b68dcf
commit
dc1d3ceb72
@ -43,9 +43,10 @@ def inbox(%{assigns: %{valid_signature: true}} = conn, params) do
|
|||||||
|
|
||||||
def inbox(conn, params) do
|
def inbox(conn, params) do
|
||||||
Logger.info("Signature error.")
|
Logger.info("Signature error.")
|
||||||
Logger.info(conn.req_headers)
|
Logger.info(inspect(conn.req_headers))
|
||||||
json(conn, "ok")
|
json(conn, "ok")
|
||||||
end
|
end
|
||||||
|
|
||||||
def ap_enabled_actor(id) do
|
def ap_enabled_actor(id) do
|
||||||
user = User.get_by_ap_id(id)
|
user = User.get_by_ap_id(id)
|
||||||
if User.ap_enabled?(user) do
|
if User.ap_enabled?(user) do
|
||||||
|
Loading…
Reference in New Issue
Block a user