Compare commits

..

No commits in common. "ecc12333e17380bc0767092f6b46105bfd9bd373" and "abc11e112fdd9ca69cd8d6df6ff2c4b1c620a853" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,6 @@ import (
"os"
"path"
"strings"
"time"
"github.com/julienschmidt/httprouter"
)
@ -289,7 +288,7 @@ func userMicropubHandler(repo *owl.Repository) func(http.ResponseWriter, *http.R
if h != "entry" {
w.WriteHeader(http.StatusBadRequest)
w.Write([]byte("Bad request. h must be entry. Got " + h))
w.Write([]byte("Bad request. h must be entry"))
return
}
if content == "" {
@ -305,7 +304,6 @@ func userMicropubHandler(repo *owl.Repository) func(http.ResponseWriter, *http.R
Reply: owl.Reply{
Url: inReplyTo,
},
Date: time.Now(),
},
content,
)