Copied over SWAssistant and CDR backend

Started converting them to new backend
This commit is contained in:
Caleb Gardner
2024-08-01 07:00:00 -05:00
parent 892c386027
commit 40271fa088
13 changed files with 657 additions and 11 deletions
+2 -2
View File
@@ -213,8 +213,8 @@ func (b *BlogApp) reqLatestBlogs(w http.ResponseWriter, r *http.Request) {
return
}
var ret struct {
Blogs []Blog `json:"blogs"`
Num int `json:"num"`
Blogs []*Blog `json:"blogs"`
Num int `json:"num"`
}
ret.Num = len(blogs)
ret.Blogs = blogs