From 82d6c2864d0ab89d6afd8962300810588ebb074c Mon Sep 17 00:00:00 2001 From: Yvonnick Esnault Date: Thu, 11 Oct 2018 12:06:18 +0000 Subject: [PATCH] fix(api): /user/me (#3444) --- engine/api/api_routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/api/api_routes.go b/engine/api/api_routes.go index a4d5783666..008f7a5eed 100644 --- a/engine/api/api_routes.go +++ b/engine/api/api_routes.go @@ -378,6 +378,7 @@ func (api *API) InitRouter() { // Users r.Handle("/user", r.GET(api.getUsersHandler)) r.Handle("/user/logged", r.GET(api.getUserLoggedHandler, Auth(false))) + r.Handle("/user/me", r.GET(api.getUserLoggedHandler, Auth(false), DEPRECATED)) r.Handle("/user/favorite", r.POST(api.postUserFavoriteHandler)) r.Handle("/user/timeline", r.GET(api.getTimelineHandler)) r.Handle("/user/timeline/filter", r.GET(api.getTimelineFilterHandler), r.POST(api.postTimelineFilterHandler))