Skip to content
Snippets Groups Projects
Commit 66380b06 authored by Ivan Tashkinov's avatar Ivan Tashkinov
Browse files

[#114] Removed `confirm_email` action stub (to be addressed in a separate MR).

parent 07e93f99
Branches
Tags
No related merge requests found
......@@ -333,8 +333,6 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
end
end
def confirm_email(_conn, _params), do: :noop
def update_avatar(%{assigns: %{user: user}} = conn, params) do
{:ok, object} = ActivityPub.upload(params, type: :avatar)
change = Changeset.change(user, %{avatar: object.data})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment