Skip to content
Snippets Groups Projects
Commit 93b12804 authored by Emanuel Petrinovic's avatar Emanuel Petrinovic
Browse files

typo fix

parent 37c60dc0
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ func main() {
log.Println("Starting My-Aktion API server")
router := mux.NewRouter()
router.HandleFunc("/health", handler.Health).Methods("GET")
router.HandleFunc("/campagins", handler.CreateCampaign).Methods("POST")
router.HandleFunc("/campaigns", handler.CreateCampaign).Methods("POST")
if err := http.ListenAndServe(":8000", router); err != nil {
log.Fatal(err)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment