remove unneeded function
This commit is contained in:
parent
75ec2a02f5
commit
5d265d9753
1 changed files with 0 additions and 5 deletions
|
@ -71,7 +71,6 @@ func Routes() *chi.Mux {
|
|||
r.Use(jwtauth.Verifier(TokenAuth))
|
||||
r.Use(jwtauth.Authenticator)
|
||||
r.Post("/", createBlogPost)
|
||||
r.Patch("/{slug}", updateBlogPostBySlug)
|
||||
r.Patch("/id/{id}", updateBlogPostById)
|
||||
})
|
||||
r.Get("/", getBlogPosts)
|
||||
|
@ -156,10 +155,6 @@ func createBlogPost(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
func updateBlogPostBySlug(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
func updateBlogPostById(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
|
Reference in a new issue