diff options
Diffstat (limited to 'system/db/content.go')
-rw-r--r-- | system/db/content.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/content.go b/system/db/content.go index dc4477f..f4671de 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -485,7 +485,7 @@ func postToJSON(ns string, data url.Values) ([]byte, error) { // find the content type and decode values into it t, ok := item.Types[ns] if !ok { - return nil, fmt.Errorf(item.ErrTypeNotRegistered, ns) + return nil, fmt.Errorf(item.ErrTypeNotRegistered.Error(), ns) } post := t() |