diff --git a/controllers/api.go b/controllers/api.go index b0ee34c2..9a2a4ed3 100644 --- a/controllers/api.go +++ b/controllers/api.go @@ -179,7 +179,7 @@ func API_Groups(w http.ResponseWriter, r *http.Request) { if checkError(err, w, "Error creating JSON response") { return } - writeJSON(w, "{\"success\" : \"true\"}") + writeJSON(w, []byte("{\"success\" : \"true\"}")) } } diff --git a/db/db.go b/db/db.go index 677f510e..8dbecf2d 100644 --- a/db/db.go +++ b/db/db.go @@ -193,6 +193,6 @@ func PostGroup(g *models.Group, uid int64) error { return nil } -func DeleteGroup(id int) error { +func DeleteGroup(id int64) error { return nil } diff --git a/templates/dashboard.html b/templates/dashboard.html index fc0c5f32..bf12f047 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -34,9 +34,25 @@
-