mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 09:33:11 +00:00
Fix funky comment after gofmt in posts.go
This commit is contained in:
parent
8626aa12cc
commit
aa72bcba50
1 changed files with 3 additions and 3 deletions
6
posts.go
6
posts.go
|
@ -517,9 +517,9 @@ func handleViewPost(app *App, w http.ResponseWriter, r *http.Request) error {
|
|||
// newPost creates a new post with or without an owning Collection.
|
||||
//
|
||||
// Endpoints:
|
||||
// /posts
|
||||
// /posts?collection={alias}
|
||||
// ? /collections/{alias}/posts
|
||||
// - /posts
|
||||
// - /posts?collection={alias}
|
||||
// - ? /collections/{alias}/posts
|
||||
func newPost(app *App, w http.ResponseWriter, r *http.Request) error {
|
||||
reqJSON := IsJSON(r)
|
||||
vars := mux.Vars(r)
|
||||
|
|
Loading…
Reference in a new issue