Skip to content

Commit

Permalink
Fix Users handler. This never worked :D
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
  • Loading branch information
marcosnils committed Mar 4, 2021
1 parent 3a762ba commit c0aaf0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c0aaf0a

Please sign in to comment.