Fake 2.4.0 API

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-06-04 17:44:08 +02:00
commit 359093d73b
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
4 changed files with 7 additions and 0 deletions

View file

@ -170,6 +170,8 @@ defmodule Pleroma.Web.Router do
get("/accounts/:id/following", MastodonAPIController, :following)
get("/accounts/:id", MastodonAPIController, :user)
get("/trends", MastodonAPIController, :empty_array)
get("/search", MastodonAPIController, :search)
end