From 33a1e92584d9a7e4819677fd2e0754ef6edc418a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 20 Sep 2018 16:25:07 +0200 Subject: [PATCH] [Pleroma.Web.Router]: Fake /api/v1/endorsements --- lib/pleroma/web/router.ex | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2