summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/db/content.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/db/content.go b/system/db/content.go
index b2ba87a..94d2bad 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -403,7 +403,6 @@ func (s sortablePosts) Swap(i, j int) {
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)