remove unneeded function

This commit is contained in:
Amarpreet Minhas 2019-04-20 17:45:01 -04:00
parent 75ec2a02f5
commit 5d265d9753

View file

@ -71,7 +71,6 @@ func Routes() *chi.Mux {
r.Use(jwtauth.Verifier(TokenAuth)) r.Use(jwtauth.Verifier(TokenAuth))
r.Use(jwtauth.Authenticator) r.Use(jwtauth.Authenticator)
r.Post("/", createBlogPost) r.Post("/", createBlogPost)
r.Patch("/{slug}", updateBlogPostBySlug)
r.Patch("/id/{id}", updateBlogPostById) r.Patch("/id/{id}", updateBlogPostById)
}) })
r.Get("/", getBlogPosts) r.Get("/", getBlogPosts)
@ -156,10 +155,6 @@ func createBlogPost(w http.ResponseWriter, r *http.Request) {
return return
} }
func updateBlogPostBySlug(w http.ResponseWriter, r *http.Request) {
return
}
func updateBlogPostById(w http.ResponseWriter, r *http.Request) { func updateBlogPostById(w http.ResponseWriter, r *http.Request) {
return return
} }