From 319322acc70a79772f28ec03b8618cb507664426 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Wed, 26 Oct 2016 13:07:30 -0700 Subject: implementation of insert content update to support types with no prior id --- system/db/content.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/db/content.go b/system/db/content.go index 71184af..f41d7bb 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -92,7 +92,7 @@ func insert(ns string, data url.Values) (int, error) { if err != nil { return err } - data.Add("id", cid) + data.Set("id", cid) j, err := postToJSON(ns, data) if err != nil { -- cgit v1.2.3