Skip to content

Commit

Permalink
Fixed call to appropriate API function
Browse files Browse the repository at this point in the history
  • Loading branch information
botherder committed Oct 27, 2020
1 parent 7000ec9 commit d03b198
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 @@ -248,7 +248,7 @@ func startServer() {
router.HandleFunc("/api/indicators/enable/",
authMiddleware(apiIndicatorsEnable, roleAdmin)).Methods("POST")
router.HandleFunc("/api/indicators/disable/",
authMiddleware(apiIndicatorsEnable, roleAdmin)).Methods("POST")
authMiddleware(apiIndicatorsDisable, roleAdmin)).Methods("POST")
//--------------------------------------------------
router.HandleFunc("/api/alerts/fetch/",
authMiddleware(apiAlertsFetch, roleAdmin)).Methods("GET")
Expand Down

0 comments on commit d03b198

Please sign in to comment.