Fix Users handler. This never worked :D

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
Marcos Lilljedahl
2021-03-04 00:16:11 -03:00
parent 3a762ba15c
commit c0aaf0a3a4

View File

@@ -117,7 +117,7 @@ func Register(extend HandlerExtender) {
r.HandleFunc("/", Landing).Methods("GET")
corsRouter.HandleFunc("/users/me", LoggedInUser).Methods("GET")
r.HandleFunc("/users/{userId:^(?me)}", GetUser).Methods("GET")
r.HandleFunc("/users/{userId:.{3,}}", GetUser).Methods("GET")
r.HandleFunc("/oauth/providers", ListProviders).Methods("GET")
r.HandleFunc("/oauth/providers/{provider}/login", Login).Methods("GET")
r.HandleFunc("/oauth/providers/{provider}/callback", LoginCallback).Methods("GET")