projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add preferredUsername to service actors so Mastodon can resolve them
[akkoma]
/
lib
/
pleroma
/
web
/
twitter_api
/
twitter_api_controller.ex
diff --git
a/lib/pleroma/web/twitter_api/twitter_api_controller.ex
b/lib/pleroma/web/twitter_api/twitter_api_controller.ex
index 8cb7035016170b85d772fa321d183d7bac5343b3..5dfab6a6c396e2ac3f8694a2d786c36aba09cedb 100644
(file)
--- a/
lib/pleroma/web/twitter_api/twitter_api_controller.ex
+++ b/
lib/pleroma/web/twitter_api/twitter_api_controller.ex
@@
-440,10
+440,10
@@
defmodule Pleroma.Web.TwitterAPI.Controller do
json_response(conn, :no_content, "")
else
{:error, "unknown user"} ->
-
put_status(conn, :not_found
)
+
send_resp(conn, :not_found, ""
)
{:error, _} ->
-
put_status(conn, :bad_request
)
+
send_resp(conn, :bad_request, ""
)
end
end