Fixing some stuff

This commit is contained in:
Caleb Gardner
2024-11-16 07:19:16 -06:00
parent 3670f1b7a9
commit 9edd91148a
3 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func latestBlogsHandle(w http.ResponseWriter, r *http.Request) {
}
func blogHandle(w http.ResponseWriter, r *http.Request, blog string) {
bl, err := blogApp.Blog(r.Context(), blog, true)
bl, err := blogApp.Blog(r.Context(), blog)
if err != nil {
if err == backend.ErrNotFound {
w.WriteHeader(404)