Skip to content

Commit

Permalink
changing request type for nfl request removing
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebRose committed Nov 6, 2024
1 parent 42def84 commit f50c6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func handleRequests() http.Handler {
apiRouter.HandleFunc("/nfl/requests/all/", controller.GetNFLTeamRequests).Methods("GET")
apiRouter.HandleFunc("/nfl/requests/create/", controller.CreateNFLTeamRequest).Methods("POST")
apiRouter.HandleFunc("/nfl/requests/approve/", controller.ApproveNFLTeamRequest).Methods("POST")
apiRouter.HandleFunc("/nfl/requests/reject/", controller.RejectNFLTeamRequest).Methods("DELETE")
apiRouter.HandleFunc("/nfl/requests/reject/", controller.RejectNFLTeamRequest).Methods("POST")
apiRouter.HandleFunc("/nfl/requests/remove/{teamID}", controller.RemoveNFLUserFromNFLTeam).Methods("POST")

// Standings Controls
Expand Down

0 comments on commit f50c6ec

Please sign in to comment.