diff options
-rw-r--r-- | system/db/content.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/db/content.go b/system/db/content.go index 089426e..39ab5c2 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -120,6 +120,7 @@ func insert(ns string, data url.Values) (int, error) { func postToJSON(ns string, data url.Values) ([]byte, error) { // find the content type and decode values into it + ns = strings.TrimSuffix(ns, "_external") t, ok := content.Types[ns] if !ok { return nil, fmt.Errorf(content.ErrTypeNotRegistered, ns) |