Converted the last pieces to new backend

Added created & updated time to blog
This commit is contained in:
Caleb Gardner
2024-08-02 05:05:56 -05:00
parent 40271fa088
commit fd89e568af
6 changed files with 41 additions and 68 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const (
</tr></table>`
)
func latestBlogsHandle(w http.ResponseWriter, r *http.Request) {
func latestBlogsHandle(w http.ResponseWriter, _ *http.Request) {
latest, err := blogApp.LatestBlogs(0)
if err != nil {
if err == backend.ErrNotFound {