From: Haelwenn (lanodan) Monnier Date: Thu, 20 Sep 2018 14:25:07 +0000 (+0200) Subject: [Pleroma.Web.Router]: Fake /api/v1/endorsements X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=33a1e92584d9a7e4819677fd2e0754ef6edc418a;p=akkoma [Pleroma.Web.Router]: Fake /api/v1/endorsements --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index d324efb7e..646e9e5cb 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -172,6 +172,8 @@ defmodule Pleroma.Web.Router do delete("/filters/:id", MastodonAPIController, :delete_filter) get("/suggestions", MastodonAPIController, :suggestions) + + get("/endorsements", MastodonAPIController, :empty_array) end scope "/api/web", Pleroma.Web.MastodonAPI do