summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/db/content.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/db/content.go b/system/db/content.go
index a55725a..71184af 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -24,6 +24,8 @@ func SetContent(target string, data url.Values) (int, error) {
t := strings.Split(target, ":")
ns, id := t[0], t[1]
+ log.Println(ns, id, data)
+
// check if content id == -1 (indicating new post).
// if so, run an insert which will assign the next auto incremented int.
// this is done because boltdb begins its bucket auto increment value at 0,