summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-26 12:59:30 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-26 12:59:30 -0700
commitec97784d44b5413a7689fd918276a5dbd1f7351e (patch)
treecda23709a94adde7a0035034506887a393faf33a
parent38cfdbcba06d46718b0b5994ef3eb79e70620724 (diff)
debugging
-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,