mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 03:35:02 +00:00
TwitterAPI: Use correct endpoint for tag timeline.
This commit is contained in:
parent
6877d7aaad
commit
6d5bd4dcc0
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ defmodule Pleroma.Web.Router do
|
|||
end
|
||||
|
||||
get "/search", TwitterAPI.Controller, :search
|
||||
get "/statusnet/tags/:tag", TwitterAPI.Controller, :public_and_external_timeline
|
||||
get "/statusnet/tags/timeline/:tag", TwitterAPI.Controller, :public_and_external_timeline
|
||||
get "/externalprofile/show", TwitterAPI.Controller, :external_profile
|
||||
end
|
||||
|
||||
|
|
|
@ -500,7 +500,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
|||
{:ok, _} = CommonAPI.post(user_two, %{"status" => "This isn't"})
|
||||
|
||||
conn = conn
|
||||
|> get("/api/statusnet/tags/2hu.json")
|
||||
|> get("/api/statusnet/tags/timeline/2hu.json")
|
||||
|
||||
assert [status] = json_response(conn, 200)
|
||||
assert status["id"] == activity.id
|
||||
|
|
Loading…
Reference in a new issue