Skip to content

Commit

Permalink
fix(api): /user/me (#3444)
Browse files Browse the repository at this point in the history
  • Loading branch information
yesnault authored Oct 11, 2018
1 parent 92a1ae2 commit 82d6c28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/api/api_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 82d6c28

Please sign in to comment.